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.001079/0.001079, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001087/0.001088, allocations: 179.9 kB / 18.71 MB, free: 4.363 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 / 242.4 MB, free: 15.15 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.2095/0.2095, allocations: 44.2 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.09 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 60.82 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002915/0.3483, allocations: 1.912 MB / 0.5208 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3497, allocations: 0.9203 MB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3498, allocations: 1.125 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.3502, allocations: 42.97 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.3504, allocations: 65.84 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.3508, allocations: 123 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.3511, allocations: 142.3 kB / 0.5221 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3512, allocations: 24.66 kB / 0.5221 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3513, allocations: 61.11 kB / 0.5222 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3515, allocations: 48.27 kB / 0.5222 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.3515, allocations: 7.469 kB / 0.5222 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3516, allocations: 45.19 kB / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3517, allocations: 27.55 kB / 0.5223 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.3518, allocations: 50.36 kB / 0.5223 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.352, allocations: 150.2 kB / 0.5225 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3521, allocations: 0 / 0.5225 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3521, allocations: 0 / 0.5225 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3521, allocations: 1.188 kB / 0.5225 GB, free: 1.281 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.0006355/0.3527, allocations: 481 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3528, allocations: 9.562 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.3528, allocations: 19.59 kB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.3531, allocations: 233.6 kB / 0.5232 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3531, allocations: 8.516 kB / 0.5232 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.3531, allocations: 8.938 kB / 0.5232 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3534, allocations: 113 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3534, allocations: 9.156 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3534, allocations: 1.156 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3534, allocations: 1.188 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3536, allocations: 47.84 kB / 0.5234 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.3541, allocations: 0.5034 MB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.3544, allocations: 87.89 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3545, allocations: 40.39 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3546, allocations: 9.594 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.3548, allocations: 82.56 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3548, allocations: 0 / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003909/0.3552, allocations: 143.1 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3552, allocations: 57.16 kB / 0.5243 GB, free: 15.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3554, allocations: 191.6 kB / 0.5245 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3555, allocations: 26.8 kB / 0.5245 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.3555, allocations: 114.7 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3556, allocations: 27.09 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3556, allocations: 29.28 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3558, allocations: 328.1 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.3559, allocations: 27.73 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.356, allocations: 70.72 kB / 0.525 GB, free: 15.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.3562, allocations: 101.7 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3562, allocations: 4 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002647/0.3565, allocations: 137.3 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3565, allocations: 5.375 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3565, allocations: 2.344 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3565, allocations: 1.75 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3567, allocations: 29.17 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3567, allocations: 2.688 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.3567, allocations: 23.09 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3568, allocations: 7.656 kB / 0.5253 GB, free: 14.86 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.0001032/0.3569, allocations: 125.4 kB / 0.5255 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3569, allocations: 14.72 kB / 0.5255 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.357, allocations: 16.19 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.357, allocations: 5.875 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.357, allocations: 0 / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.357, allocations: 0.6562 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3572, allocations: 209.1 kB / 0.5257 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3572, allocations: 5.562 kB / 0.5257 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.3573, allocations: 14.12 kB / 0.5257 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3573, allocations: 1.844 kB / 0.5257 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3573, allocations: 6.266 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3573, allocations: 3.938 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3573, allocations: 6.766 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.3577, allocations: 176.5 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.3577, allocations: 93.81 kB / 0.526 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3578, allocations: 1.891 kB / 0.526 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.3578, allocations: 14.27 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3579, allocations: 5.75 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3579, allocations: 4.922 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.358, allocations: 137.3 kB / 0.5262 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.358, allocations: 5.312 kB / 0.5262 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3583, allocations: 29.05 kB / 0.5262 GB, free: 14.16 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.0009458/0.3592, allocations: 412.2 kB / 0.5266 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.3595, allocations: 86.31 kB / 0.5267 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3595, allocations: 192 / 0.5267 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3596, allocations: 39.69 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3599, allocations: 35.02 kB / 0.5267 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.3605, allocations: 261.9 kB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3608, allocations: 0.7142 MB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.027e-05/0.3608, allocations: 15.5 kB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.3609, allocations: 24.66 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3609, allocations: 0 / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Templates: time 0.005287/0.3662, allocations: 1.908 MB / 0.5296 GB, free: 12.21 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/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