Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 222.9 MB / 243 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1824/0.1824, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.42 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09068, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002722/0.09345, allocations: 1.555 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006976/0.09416, allocations: 407.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.09422, allocations: 0 / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.09443, allocations: 31.84 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.09463, allocations: 35.84 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.09491, allocations: 107.7 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.09504, allocations: 59.83 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.09515, allocations: 15.97 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.09519, allocations: 19.92 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.511e-05/0.09525, allocations: 19.88 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.09527, allocations: 0 / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.09535, allocations: 43.91 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.0954, allocations: 15.92 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.09544, allocations: 23.88 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.09558, allocations: 79.73 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.09559, allocations: 0 / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0956, allocations: 0 / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.09561, allocations: 0 / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003816/0.09599, allocations: 386 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.09604, allocations: 12.03 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.09607, allocations: 8.844 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.09623, allocations: 192.1 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.09625, allocations: 4.375 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.09627, allocations: 4.375 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.09639, allocations: 49.81 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.09641, allocations: 3.938 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.09642, allocations: 0 / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.09643, allocations: 4 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.102e-05/0.09651, allocations: 23.97 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.09683, allocations: 292.8 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.09701, allocations: 42.56 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.09707, allocations: 20.88 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.09709, allocations: 0 / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.09712, allocations: 34.56 kB / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.09712, allocations: 0 / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004705/0.0976, allocations: 153.3 kB / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.09764, allocations: 51.41 kB / 474.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.09777, allocations: 165.8 kB / 474.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.09779, allocations: 25.7 kB / 474.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.09783, allocations: 92.14 kB / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.09786, allocations: 27.64 kB / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.0979, allocations: 17.72 kB / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.09799, allocations: 322.8 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.09806, allocations: 19.98 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.09812, allocations: 23.92 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.09824, allocations: 52.83 kB / 475.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.09825, allocations: 0 / 475.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001556/0.09841, allocations: 89.56 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.09843, allocations: 8 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.09844, allocations: 0 / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.09845, allocations: 0 / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.09851, allocations: 11.98 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.09853, allocations: 4 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.09856, allocations: 0 / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.09858, allocations: 7.938 kB / 475.2 MB, free: 8.898 MB / 350.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 (5): * Single equations (assignments): 5 * 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 6.915e-05/0.09865, allocations: 125.8 kB / 475.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.09868, allocations: 7.906 kB / 475.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.09889, allocations: 93.97 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.0989, allocations: 0 / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.09891, allocations: 3.984 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.09891, allocations: 8.25 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.09927, allocations: 366.4 kB / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09928, allocations: 0 / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.09933, allocations: 11.98 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.09934, allocations: 4 kB / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.09935, allocations: 0 / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.09936, allocations: 3.938 kB / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09936, allocations: 288 / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.09956, allocations: 187.4 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.0996, allocations: 85 kB / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.09962, allocations: 0 / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.09969, allocations: 15.92 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.09973, allocations: 4 kB / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.09974, allocations: 3.938 kB / 476.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.105e-05/0.09982, allocations: 129.8 kB / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09983, allocations: 0 / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1001, allocations: 19.98 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007712/0.1008, allocations: 396.5 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.101, allocations: 51.91 kB / 476.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.101, allocations: 0 / 476.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.717e-05/0.1011, allocations: 31.92 kB / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1014, allocations: 21.42 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.1017, allocations: 198.1 kB / 476.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.1019, allocations: 0.704 MB / 477.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.102, allocations: 15.97 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.102, allocations: 11.44 kB / 477.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.102, allocations: 0 / 477.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of Templates: time 0.1945/0.2965, allocations: 1.104 MB / 478.8 MB, free: 5.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches