Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.778/1.778, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000883/0.0008832, allocations: 97.33 kB / 271.3 MB, free: 8.25 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.4011/0.4011, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004311, allocations: 16 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4862, allocations: 87.62 MB / 0.5655 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4865, allocations: 71.97 kB / 0.5656 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.5038, allocations: 6.526 MB / 0.572 GB, free: 7.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5039, allocations: 0 / 0.572 GB, free: 7.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.449e-05/0.5039, allocations: 8 kB / 0.572 GB, free: 7.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001085/0.505, allocations: 0.7189 MB / 0.5727 GB, free: 7.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5051, allocations: 8.031 kB / 0.5727 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.5052, allocations: 48.38 kB / 0.5727 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.506, allocations: 0.4958 MB / 0.5732 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.5061, allocations: 8.375 kB / 0.5732 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.5061, allocations: 384 / 0.5732 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5063, allocations: 91.91 kB / 0.5733 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5063, allocations: 4.188 kB / 0.5733 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.5063, allocations: 3.938 kB / 0.5733 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5063, allocations: 3.938 kB / 0.5733 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.5065, allocations: 35.97 kB / 0.5734 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.507, allocations: 382.3 kB / 0.5737 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.5073, allocations: 109.2 kB / 0.5738 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.5074, allocations: 45.69 kB / 0.5739 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.5074, allocations: 0 / 0.5739 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.5077, allocations: 113 kB / 0.574 GB, free: 5.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.5077, allocations: 0 / 0.574 GB, free: 5.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005287/0.5082, allocations: 208.9 kB / 0.5742 GB, free: 5.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.5083, allocations: 77.11 kB / 0.5743 GB, free: 5.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.5097, allocations: 1.007 MB / 0.5752 GB, free: 4.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.5098, allocations: 29.7 kB / 0.5753 GB, free: 4.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5099, allocations: 232.1 kB / 0.5755 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.51, allocations: 39.55 kB / 0.5755 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.51, allocations: 0 / 0.5755 GB, free: 3.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.5102, allocations: 371.5 kB / 0.5759 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.5103, allocations: 27.98 kB / 0.5759 GB, free: 3.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.532e-05/0.5104, allocations: 55.41 kB / 0.576 GB, free: 3.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.5106, allocations: 99.86 kB / 0.5761 GB, free: 3.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.5106, allocations: 3.984 kB / 0.5761 GB, free: 3.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003485/0.511, allocations: 161 kB / 0.5762 GB, free: 3.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.511, allocations: 7.938 kB / 0.5762 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.511, allocations: 4 kB / 0.5762 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5111, allocations: 7.875 kB / 0.5762 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5112, allocations: 24.05 kB / 0.5763 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5112, allocations: 4 kB / 0.5763 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.5113, allocations: 23.83 kB / 0.5763 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.5114, allocations: 4 kB / 0.5763 GB, free: 3.152 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.5116, allocations: 233.5 kB / 0.5765 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.5117, allocations: 55.28 kB / 0.5766 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.5121, allocations: 201.5 kB / 0.5768 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5121, allocations: 4 kB / 0.5768 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.5121, allocations: 0 / 0.5768 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5121, allocations: 4 kB / 0.5768 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.5126, allocations: 381.3 kB / 0.5771 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5127, allocations: 4 kB / 0.5771 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.5127, allocations: 15.98 kB / 0.5771 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5127, allocations: 3.938 kB / 0.5771 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5128, allocations: 4 kB / 0.5771 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5128, allocations: 256 / 0.5771 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5128, allocations: 0 / 0.5771 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.5133, allocations: 221.9 kB / 0.5774 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.5137, allocations: 200.3 kB / 0.5776 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/0.5138, allocations: 7.938 kB / 0.5776 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.514, allocations: 4 kB / 0.5776 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.5141, allocations: 15.98 kB / 0.5776 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.5141, allocations: 7.984 kB / 0.5776 GB, free: 1.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001032/0.5151, allocations: 0.7564 MB / 0.5783 GB, free: 0.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5151, allocations: 0 / 0.5783 GB, free: 0.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.5155, allocations: 80 kB / 0.5784 GB, free: 0.8789 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009294/0.5164, allocations: 414.3 kB / 0.5788 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.5167, allocations: 91.89 kB / 0.5789 GB, free: 488 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5167, allocations: 0 / 0.5789 GB, free: 488 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5168, allocations: 52.03 kB / 0.5789 GB, free: 436 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.5173, allocations: 70.25 kB / 0.579 GB, free: 368 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.5189, allocations: 1.001 MB / 0.58 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.5194, allocations: 0.8468 MB / 0.5808 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.5196, allocations: 86.95 kB / 0.5809 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5197, allocations: 43.42 kB / 0.5809 GB, free: 14.33 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.5197, allocations: 0 / 0.5809 GB, free: 14.33 MB / 410.7 MB Notification: Performance of Templates: time 0.009593/0.5293, allocations: 4.606 MB / 0.5854 GB, free: 9.734 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches