Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 75.88 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3621, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003657/0.3658, allocations: 1.69 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3677, allocations: 0.9937 MB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.3679, allocations: 1.375 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.3682, allocations: 71.08 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.3688, allocations: 100.6 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.3691, allocations: 74.94 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3693, allocations: 110.3 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.3694, allocations: 5.734 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3695, allocations: 43.03 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3697, allocations: 52.44 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3697, allocations: 2.75 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3698, allocations: 28.56 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.3699, allocations: 18.8 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.37, allocations: 39.97 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.3702, allocations: 108.6 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3703, allocations: 0 / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3703, allocations: 0 / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3703, allocations: 1.375 kB / 0.535 GB, free: 11.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005992/0.3709, allocations: 412.2 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3709, allocations: 9.625 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.371, allocations: 10.34 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.3713, allocations: 211.8 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3713, allocations: 1.75 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.3714, allocations: 9.5 kB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3715, allocations: 51.3 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3715, allocations: 0 / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3716, allocations: 1.375 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3716, allocations: 0 / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.3716, allocations: 20.11 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.3719, allocations: 180.3 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3721, allocations: 58.39 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.3721, allocations: 24.09 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3722, allocations: 1.344 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3723, allocations: 68.33 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3723, allocations: 0 / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002981/0.3727, allocations: 95.58 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3727, allocations: 57 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3729, allocations: 191.5 kB / 0.5363 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3729, allocations: 26.83 kB / 0.5363 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.373, allocations: 105 kB / 0.5364 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.373, allocations: 18.62 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.3731, allocations: 22.86 kB / 0.5365 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3732, allocations: 325.5 kB / 0.5368 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.3733, allocations: 19.42 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.3733, allocations: 28.27 kB / 0.5368 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.3735, allocations: 52.02 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3735, allocations: 0 / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001718/0.3736, allocations: 79 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3737, allocations: 5.969 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3737, allocations: 0 / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3737, allocations: 5.062 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.3738, allocations: 16.86 kB / 0.537 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3738, allocations: 5.156 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.3738, allocations: 2.156 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3739, allocations: 6.219 kB / 0.537 GB, free: 9.125 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 (7): * Single equations (assignments): 7 * 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.000105/0.374, allocations: 126.7 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.374, allocations: 12.41 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.3741, allocations: 14.56 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3741, allocations: 4 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3741, allocations: 1.219 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3741, allocations: 0 / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.3743, allocations: 188.8 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3743, allocations: 1.094 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.3743, allocations: 3.344 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3743, allocations: 0 / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3743, allocations: 1.125 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3743, allocations: 1.156 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3743, allocations: 160 / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3745, allocations: 117.5 kB / 0.5375 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.3746, allocations: 84.3 kB / 0.5375 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3746, allocations: 9.109 kB / 0.5375 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.901e-05/0.3747, allocations: 5.312 kB / 0.5375 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3747, allocations: 2.375 kB / 0.5375 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3747, allocations: 2.375 kB / 0.5375 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.3749, allocations: 152.2 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3749, allocations: 0 / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.3751, allocations: 33.42 kB / 0.5377 GB, free: 8.418 MB / 398.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: 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 (5): * Single equations (assignments): 3 * 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.0009944/0.3761, allocations: 403.8 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.3763, allocations: 43.23 kB / 0.5382 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3763, allocations: 1.156 kB / 0.5382 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.3764, allocations: 19.8 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3767, allocations: 42.12 kB / 0.5382 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.3771, allocations: 226.7 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3774, allocations: 0.7029 MB / 0.5391 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.3775, allocations: 17.89 kB / 0.5391 GB, free: 7.242 MB / 398.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3775, allocations: 1.375 kB / 0.5391 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Templates: time 0.004173/0.3817, allocations: 1.738 MB / 0.5408 GB, free: 6.344 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches