Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.93 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.91 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3193, allocations: 65.48 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003199/0.3225, allocations: 1.605 MB / 0.5598 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3236, allocations: 0.5271 MB / 0.5603 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.3237, allocations: 3.938 kB / 0.5603 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.324, allocations: 119.6 kB / 0.5604 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.3243, allocations: 135.5 kB / 0.5605 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3246, allocations: 91.38 kB / 0.5606 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3248, allocations: 99.73 kB / 0.5607 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3249, allocations: 19.62 kB / 0.5607 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.3249, allocations: 51.88 kB / 0.5608 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3251, allocations: 95.7 kB / 0.5609 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3251, allocations: 0 / 0.5609 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3252, allocations: 43.98 kB / 0.5609 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.3253, allocations: 31.84 kB / 0.561 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.3253, allocations: 23.75 kB / 0.561 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.3255, allocations: 126.2 kB / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3255, allocations: 0 / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3255, allocations: 0 / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.3256, allocations: 0 / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005908/0.3261, allocations: 373.3 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3262, allocations: 8.031 kB / 0.5615 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.3262, allocations: 24.77 kB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3264, allocations: 154.4 kB / 0.5616 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3265, allocations: 8.375 kB / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3265, allocations: 384 / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3266, allocations: 61.8 kB / 0.5617 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3267, allocations: 0 / 0.5617 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.3267, allocations: 0 / 0.5617 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3267, allocations: 0 / 0.5617 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3268, allocations: 35.91 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.3271, allocations: 244.5 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.3273, allocations: 38.56 kB / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.3273, allocations: 24.94 kB / 0.562 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3273, allocations: 0 / 0.562 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3274, allocations: 38.5 kB / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3274, allocations: 0 / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008911/0.3283, allocations: 233.1 kB / 0.5623 GB, free: 3.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.3283, allocations: 55.41 kB / 0.5623 GB, free: 3.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.3286, allocations: 267.8 kB / 0.5626 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3286, allocations: 29.7 kB / 0.5626 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.3287, allocations: 116.1 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3288, allocations: 23.73 kB / 0.5628 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.3288, allocations: 29.72 kB / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.329, allocations: 330.8 kB / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.329, allocations: 27.98 kB / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3291, allocations: 23.92 kB / 0.5631 GB, free: 2.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3293, allocations: 64.89 kB / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3293, allocations: 0 / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00024/0.3295, allocations: 109.5 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3295, allocations: 10.66 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3295, allocations: 4 kB / 0.5633 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3296, allocations: 0 / 0.5633 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3297, allocations: 19.92 kB / 0.5633 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3297, allocations: 0 / 0.5633 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.3297, allocations: 4 kB / 0.5634 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3297, allocations: 7.938 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.3298, allocations: 135.1 kB / 0.5635 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.3299, allocations: 11.91 kB / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.3302, allocations: 131.3 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3302, allocations: 4.422 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3302, allocations: 0 / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3302, allocations: 3.984 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.3307, allocations: 354.9 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3307, allocations: 0 / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.3308, allocations: 15.98 kB / 0.564 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3308, allocations: 12.02 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3308, allocations: 4 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3308, allocations: 3.938 kB / 0.564 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3308, allocations: 3.938 kB / 0.564 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3311, allocations: 212.3 kB / 0.5642 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.3311, allocations: 11.91 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3311, allocations: 0 / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.3312, allocations: 11.92 kB / 0.5642 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3312, allocations: 4 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.3312, allocations: 11.98 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.3314, allocations: 208.1 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3314, allocations: 0 / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3317, allocations: 23.94 kB / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/0.3336, allocations: 494.6 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.3338, allocations: 59.95 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3338, allocations: 4 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.3339, allocations: 31.92 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.3343, allocations: 34.83 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.3351, allocations: 338 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3352, allocations: 105.1 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.3353, allocations: 19.44 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3353, allocations: 0 / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Templates: time 0.004333/0.3396, allocations: 1.935 MB / 0.5674 GB, free: 13.94 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9675585413351655]