Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002292/0.002292, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 75.88 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3502, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003299/0.3536, allocations: 1.732 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3553, allocations: 1.027 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3554, allocations: 0 / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.3558, allocations: 42.77 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3561, allocations: 99.03 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3563, allocations: 70.94 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3565, allocations: 108.9 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3566, allocations: 6.875 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.3567, allocations: 42.91 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.3568, allocations: 38.78 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3569, allocations: 4.125 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.357, allocations: 39.48 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.357, allocations: 25.36 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.3571, allocations: 35.98 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3573, allocations: 117.8 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3573, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3573, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3573, allocations: 1.156 kB / 0.5344 GB, free: 11.03 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004865/0.3578, allocations: 418.9 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3579, allocations: 9.594 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.3579, allocations: 14.16 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3582, allocations: 219.1 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3582, allocations: 1.688 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3582, allocations: 7.531 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3584, allocations: 53.39 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3584, allocations: 7.922 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3584, allocations: 1.281 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3584, allocations: 4 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.3585, allocations: 18.58 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.3588, allocations: 282.4 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.359, allocations: 57.81 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.3591, allocations: 25.84 kB / 0.5354 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3591, allocations: 9.266 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.3592, allocations: 64.73 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3592, allocations: 0 / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005088/0.3598, allocations: 174.1 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.3598, allocations: 52.53 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.36, allocations: 190.1 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3601, allocations: 30.89 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.3601, allocations: 100.7 kB / 0.536 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.3602, allocations: 24.41 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3602, allocations: 23.47 kB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3604, allocations: 326 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.3604, allocations: 23.55 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.3605, allocations: 35.42 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3606, allocations: 67.83 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3606, allocations: 0 / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.3608, allocations: 102.7 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3608, allocations: 5.906 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3609, allocations: 0 / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3609, allocations: 1.125 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.361, allocations: 18.3 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.361, allocations: 3.938 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.361, allocations: 10.66 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3611, allocations: 6.656 kB / 0.5367 GB, free: 8.859 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 9.413e-05/0.3612, allocations: 121.7 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3612, allocations: 9.672 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.3612, allocations: 13.59 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3612, allocations: 1.031 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3613, allocations: 5.203 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3613, allocations: 3.938 kB / 0.5368 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.3618, allocations: 402.3 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3618, allocations: 0 / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.3618, allocations: 11.97 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3618, allocations: 1.469 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3618, allocations: 13.17 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3619, allocations: 5.062 kB / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3619, allocations: 0 / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3621, allocations: 200.6 kB / 0.5374 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3621, allocations: 88.52 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3622, allocations: 9 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.3623, allocations: 1.969 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.3623, allocations: 7.578 kB / 0.5375 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3623, allocations: 7.266 kB / 0.5375 GB, free: 8.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3625, allocations: 139.5 kB / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3625, allocations: 5.062 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3627, allocations: 24.03 kB / 0.5377 GB, free: 7.898 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.001145/0.3639, allocations: 460.9 kB / 0.5381 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.3641, allocations: 62.25 kB / 0.5382 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3641, allocations: 3.938 kB / 0.5382 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.3642, allocations: 33.52 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3646, allocations: 29.22 kB / 0.5382 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.3651, allocations: 213.7 kB / 0.5384 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3655, allocations: 0.7084 MB / 0.5391 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.3655, allocations: 14.38 kB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.3656, allocations: 19.95 kB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3656, allocations: 0 / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Templates: time 0.005028/0.3706, allocations: 1.72 MB / 0.5408 GB, free: 5.828 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches