Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001676/0.001676, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.326/1.326, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2124/0.2124, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.09 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003294/0.3617, allocations: 1.71 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3632, allocations: 0.8793 MB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3634, allocations: 1.125 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.3637, allocations: 37.69 kB / 0.5222 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3641, allocations: 56.11 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.3645, allocations: 109.9 kB / 0.5224 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3647, allocations: 99.45 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3649, allocations: 11.7 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.365, allocations: 42.62 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.3651, allocations: 28.69 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3651, allocations: 3.594 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3653, allocations: 43.02 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.3653, allocations: 23.31 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.3654, allocations: 38.44 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.3657, allocations: 116.2 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3657, allocations: 0 / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3657, allocations: 1.125 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3657, allocations: 0 / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005583/0.3663, allocations: 410 kB / 0.5232 GB, free: 1.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3663, allocations: 9.625 kB / 0.5232 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.3664, allocations: 14.72 kB / 0.5232 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3667, allocations: 215.7 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3667, allocations: 1.75 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3667, allocations: 10.86 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3669, allocations: 57.59 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3669, allocations: 0.75 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3669, allocations: 1.094 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3669, allocations: 1.156 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.367, allocations: 17.92 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.3674, allocations: 287.4 kB / 0.5237 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3675, allocations: 64.06 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.3676, allocations: 20.44 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3676, allocations: 1.688 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3678, allocations: 65.22 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3678, allocations: 3.938 kB / 0.5239 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005571/0.3683, allocations: 177.6 kB / 0.5241 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3684, allocations: 61.59 kB / 0.5241 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3686, allocations: 192.2 kB / 0.5243 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3686, allocations: 26.83 kB / 0.5243 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.3687, allocations: 104.6 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3687, allocations: 29.16 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.3688, allocations: 23.03 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3689, allocations: 334.7 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.369, allocations: 20.34 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.3691, allocations: 36.23 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3692, allocations: 57.7 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3692, allocations: 0 / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.3694, allocations: 101.2 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3694, allocations: 10.5 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3694, allocations: 4 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3695, allocations: 2.094 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.3696, allocations: 16 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3696, allocations: 0.5625 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.3696, allocations: 10.33 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3697, allocations: 3.578 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000112/0.3698, allocations: 134.8 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3698, allocations: 13.48 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.3699, allocations: 21.56 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3699, allocations: 0 / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3699, allocations: 2.781 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3699, allocations: 3.938 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.3704, allocations: 394.1 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3704, allocations: 1.094 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.3704, allocations: 8.969 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3704, allocations: 0.5156 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3705, allocations: 10.28 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3705, allocations: 1.922 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3705, allocations: 1.438 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3708, allocations: 204.8 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3708, allocations: 85.53 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3709, allocations: 4.828 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.3709, allocations: 7.406 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.371, allocations: 13.72 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.371, allocations: 4.344 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3711, allocations: 147.2 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3712, allocations: 1.125 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3714, allocations: 25.31 kB / 0.5261 GB, free: 14.61 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00107/0.3725, allocations: 468.1 kB / 0.5265 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.3727, allocations: 59.28 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3727, allocations: 1.781 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.3728, allocations: 31.48 kB / 0.5266 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3731, allocations: 38.33 kB / 0.5267 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.3736, allocations: 251.9 kB / 0.5269 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3739, allocations: 0.7106 MB / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.374, allocations: 16.53 kB / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.374, allocations: 0 / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.004776/0.3787, allocations: 1.941 MB / 0.5295 GB, free: 12.75 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches