Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007801/0.0007803, allocations: 82.61 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3412/0.3412, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.89e-05, allocations: 8 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4828, allocations: 87.46 MB / 0.5582 GB, free: 16.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4831, allocations: 73.3 kB / 0.5583 GB, free: 16.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.4956, allocations: 5.217 MB / 0.5634 GB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4957, allocations: 0 / 0.5634 GB, free: 13.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4957, allocations: 0 / 0.5634 GB, free: 13.6 MB / 394.7 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.0003624/0.4961, allocations: 400.2 kB / 0.5638 GB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4961, allocations: 12.03 kB / 0.5638 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.4962, allocations: 11.34 kB / 0.5638 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.4964, allocations: 212.4 kB / 0.564 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4964, allocations: 0 / 0.564 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.4965, allocations: 0 / 0.564 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4966, allocations: 52.28 kB / 0.5641 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.4966, allocations: 0 / 0.5641 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4966, allocations: 4 kB / 0.5641 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4966, allocations: 1.375 kB / 0.5641 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.4967, allocations: 18.56 kB / 0.5641 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.4968, allocations: 188.6 kB / 0.5643 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.4969, allocations: 46.36 kB / 0.5643 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.497, allocations: 20.23 kB / 0.5643 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.497, allocations: 3.984 kB / 0.5643 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.4971, allocations: 67.84 kB / 0.5644 GB, free: 12.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.4971, allocations: 4 kB / 0.5644 GB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001717/0.4973, allocations: 77.69 kB / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.4974, allocations: 51.41 kB / 0.5645 GB, free: 12.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4975, allocations: 168.9 kB / 0.5647 GB, free: 12.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4975, allocations: 30.56 kB / 0.5647 GB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.4976, allocations: 101.7 kB / 0.5648 GB, free: 12.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4976, allocations: 28.56 kB / 0.5648 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.4976, allocations: 0 / 0.5648 GB, free: 12.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.4977, allocations: 322.6 kB / 0.5651 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.4977, allocations: 11.69 kB / 0.5651 GB, free: 11.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.4977, allocations: 26.78 kB / 0.5652 GB, free: 11.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.4978, allocations: 23.83 kB / 0.5652 GB, free: 11.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4978, allocations: 2.344 kB / 0.5652 GB, free: 11.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.553e-05/0.4979, allocations: 81.11 kB / 0.5653 GB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.4979, allocations: 4 kB / 0.5653 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4979, allocations: 0 / 0.5653 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4979, allocations: 0 / 0.5653 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.498, allocations: 21.75 kB / 0.5653 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.498, allocations: 1.5 kB / 0.5653 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.4981, allocations: 4 kB / 0.5653 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4981, allocations: 3.875 kB / 0.5653 GB, free: 11.67 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.4981, allocations: 111.8 kB / 0.5654 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.4982, allocations: 15.81 kB / 0.5654 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.4983, allocations: 89.88 kB / 0.5655 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4983, allocations: 3.938 kB / 0.5655 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.4983, allocations: 0 / 0.5655 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4983, allocations: 1.688 kB / 0.5655 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.4984, allocations: 187.7 kB / 0.5657 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4985, allocations: 3.953 kB / 0.5657 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.4985, allocations: 4 kB / 0.5657 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4985, allocations: 1.547 kB / 0.5657 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4985, allocations: 8 kB / 0.5657 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4985, allocations: 0 / 0.5657 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4985, allocations: 0 / 0.5657 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.4986, allocations: 108.1 kB / 0.5658 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.4987, allocations: 92.11 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4987, allocations: 7.625 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.4988, allocations: 1.312 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.4988, allocations: 6.391 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4988, allocations: 4 kB / 0.5659 GB, free: 11.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.4989, allocations: 146.7 kB / 0.5661 GB, free: 10.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4989, allocations: 3.938 kB / 0.5661 GB, free: 10.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000187/0.4991, allocations: 31.73 kB / 0.5661 GB, free: 10.88 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007615/0.4999, allocations: 369.4 kB / 0.5665 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.5, allocations: 39.69 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5, allocations: 0 / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.5, allocations: 28.06 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.5002, allocations: 30.89 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.5005, allocations: 139.3 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.5007, allocations: 0.7043 MB / 0.5674 GB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.5007, allocations: 20.34 kB / 0.5674 GB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.5007, allocations: 15.44 kB / 0.5674 GB, free: 9.617 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5008, allocations: 7.938 kB / 0.5674 GB, free: 9.609 MB / 394.7 MB Notification: Performance of Templates: time 0.00327/0.504, allocations: 1.465 MB / 0.5688 GB, free: 8.156 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches