Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 183 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.46/1.46, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007903/0.0007904, allocations: 78.62 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.355/0.355, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.631e-05/4.634e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.5061, allocations: 87.58 MB / 0.5583 GB, free: 16.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.5064, allocations: 73.69 kB / 0.5584 GB, free: 16.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.5199, allocations: 5.255 MB / 0.5635 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5199, allocations: 0.5469 kB / 0.5635 GB, free: 13.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.52, allocations: 4 kB / 0.5636 GB, free: 13.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003983/0.5204, allocations: 402.2 kB / 0.5639 GB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5204, allocations: 12.03 kB / 0.5639 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.5205, allocations: 12.52 kB / 0.564 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.5207, allocations: 217.3 kB / 0.5642 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5208, allocations: 0 / 0.5642 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.5208, allocations: 4 kB / 0.5642 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5209, allocations: 54 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.5209, allocations: 4 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5209, allocations: 1.375 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5209, allocations: 5.734 kB / 0.5642 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.521, allocations: 17.08 kB / 0.5642 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.5214, allocations: 292 kB / 0.5645 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.5215, allocations: 56.44 kB / 0.5646 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.5215, allocations: 20.86 kB / 0.5646 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.5216, allocations: 5.297 kB / 0.5646 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.5217, allocations: 68.17 kB / 0.5647 GB, free: 12.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5217, allocations: 3.938 kB / 0.5647 GB, free: 12.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004441/0.5222, allocations: 173 kB / 0.5648 GB, free: 12.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5222, allocations: 51.41 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.5223, allocations: 168.9 kB / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5224, allocations: 33.14 kB / 0.5651 GB, free: 11.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.5224, allocations: 102.2 kB / 0.5652 GB, free: 11.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.5224, allocations: 19.7 kB / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.5225, allocations: 3.25 kB / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.5225, allocations: 322 kB / 0.5655 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.5226, allocations: 21.38 kB / 0.5655 GB, free: 11.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.5226, allocations: 30.38 kB / 0.5656 GB, free: 11.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.5226, allocations: 26.3 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5227, allocations: 0 / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001207/0.5228, allocations: 105.4 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5228, allocations: 4 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5228, allocations: 0 / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5228, allocations: 4 kB / 0.5657 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.5229, allocations: 23.17 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5229, allocations: 3.953 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.523, allocations: 4 kB / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.523, allocations: 8.031 kB / 0.5657 GB, free: 11.32 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 (10): * Single equations (assignments): 10 * 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 5.314e-05/0.5231, allocations: 106.8 kB / 0.5658 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.5231, allocations: 15.89 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.5233, allocations: 115.8 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5233, allocations: 4 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5233, allocations: 1.312 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5233, allocations: 7.938 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.5237, allocations: 411.8 kB / 0.5664 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5237, allocations: 0 / 0.5664 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.5237, allocations: 8 kB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5237, allocations: 0 / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5237, allocations: 7.062 kB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5238, allocations: 3.953 kB / 0.5664 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5238, allocations: 0 / 0.5664 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.5239, allocations: 218.2 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.524, allocations: 96.31 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.524, allocations: 7.891 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.5241, allocations: 4 kB / 0.5667 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.5241, allocations: 11.3 kB / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.5242, allocations: 3.938 kB / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.686e-05/0.5243, allocations: 144.3 kB / 0.5668 GB, free: 10.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5243, allocations: 4 kB / 0.5668 GB, free: 10.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.5245, allocations: 27.19 kB / 0.5669 GB, free: 10.15 MB / 394.7 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) * 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 (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.0008969/0.5254, allocations: 430.2 kB / 0.5673 GB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.5255, allocations: 60.94 kB / 0.5673 GB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5256, allocations: 0 / 0.5673 GB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.5256, allocations: 30.38 kB / 0.5674 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.5259, allocations: 23.59 kB / 0.5674 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.5262, allocations: 170.2 kB / 0.5676 GB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.5263, allocations: 0.7118 MB / 0.5682 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.975e-05/0.5264, allocations: 20.84 kB / 0.5683 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.5264, allocations: 15.44 kB / 0.5683 GB, free: 8.773 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5264, allocations: 0 / 0.5683 GB, free: 8.773 MB / 394.7 MB Notification: Performance of Templates: time 0.003603/0.53, allocations: 1.684 MB / 0.5699 GB, free: 7.105 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches