Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 110 kB / 18.45 MB, free: 4.602 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.001252/0.001253, allocations: 186.3 kB / 19.38 MB, free: 3.684 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.299/1.299, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.211/0.211, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.35, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.0032/0.3533, allocations: 1.919 MB / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3547, allocations: 0.9129 MB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.3548, allocations: 1.656 kB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.3551, allocations: 42.72 kB / 0.5224 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.3553, allocations: 62.41 kB / 0.5225 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.3557, allocations: 129.9 kB / 0.5226 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.3559, allocations: 143 kB / 0.5228 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.356, allocations: 24.73 kB / 0.5228 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3561, allocations: 57.2 kB / 0.5228 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3563, allocations: 56.84 kB / 0.5229 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.3563, allocations: 7.062 kB / 0.5229 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3564, allocations: 45.19 kB / 0.5229 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.3565, allocations: 27.17 kB / 0.523 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.3566, allocations: 51.17 kB / 0.523 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3568, allocations: 145.5 kB / 0.5231 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3568, allocations: 4 kB / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3568, allocations: 0 / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3568, allocations: 1.094 kB / 0.5232 GB, free: 1.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005931/0.3574, allocations: 479.3 kB / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3575, allocations: 9.625 kB / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.3576, allocations: 20.38 kB / 0.5236 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3578, allocations: 229.1 kB / 0.5239 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3579, allocations: 3.5 kB / 0.5239 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3579, allocations: 13.28 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.3581, allocations: 112.4 kB / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3582, allocations: 0 / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3582, allocations: 5.859 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3582, allocations: 2.5 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3583, allocations: 46.66 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.3589, allocations: 0.5001 MB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3592, allocations: 86.56 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3593, allocations: 41.39 kB / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3594, allocations: 6.016 kB / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.3596, allocations: 81.67 kB / 0.5247 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3596, allocations: 0 / 0.5247 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004117/0.36, allocations: 143.3 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3601, allocations: 57.09 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3603, allocations: 195.9 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3603, allocations: 35.39 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.3604, allocations: 114.8 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3604, allocations: 31.42 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3605, allocations: 27.59 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3606, allocations: 323.1 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.3607, allocations: 29.09 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3608, allocations: 71.67 kB / 0.5257 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.361, allocations: 91.98 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.361, allocations: 0 / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002731/0.3613, allocations: 141.8 kB / 0.5259 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3613, allocations: 8.281 kB / 0.5259 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3613, allocations: 2.547 kB / 0.5259 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3614, allocations: 1.75 kB / 0.5259 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.3615, allocations: 29.42 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3615, allocations: 7.078 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.3615, allocations: 5.891 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3616, allocations: 12.86 kB / 0.526 GB, free: 14.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001039/0.3617, allocations: 131.8 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.3617, allocations: 15.12 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.3618, allocations: 20.64 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3618, allocations: 4.922 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3618, allocations: 0 / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3618, allocations: 1.781 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.362, allocations: 208.8 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.362, allocations: 0.7031 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.3621, allocations: 11.47 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3621, allocations: 9.641 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3621, allocations: 5.062 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3621, allocations: 5.656 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3621, allocations: 3.984 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.3625, allocations: 179.1 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.3625, allocations: 88.33 kB / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3626, allocations: 10.09 kB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.3627, allocations: 10.83 kB / 0.5267 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3627, allocations: 4.906 kB / 0.5267 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3627, allocations: 4.781 kB / 0.5267 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3628, allocations: 142.8 kB / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3629, allocations: 0 / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.3631, allocations: 28.41 kB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009271/0.364, allocations: 415.8 kB / 0.5272 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3643, allocations: 75.83 kB / 0.5273 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3643, allocations: 0.7188 kB / 0.5273 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3644, allocations: 40.28 kB / 0.5274 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3647, allocations: 35.97 kB / 0.5274 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.3653, allocations: 285.4 kB / 0.5277 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3656, allocations: 0.714 MB / 0.5284 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.3656, allocations: 17.22 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3656, allocations: 0 / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004258/0.3699, allocations: 2.176 MB / 0.5305 GB, free: 12.04 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches