Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 183.1 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.341/1.341, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008094/0.0008095, allocations: 82.61 kB / 267 MB, free: 9.281 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.3282/0.3282, allocations: 43.46 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.088e-05, allocations: 8 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 58.85 MB / 484.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4769, allocations: 87.47 MB / 0.5582 GB, free: 16.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.4771, allocations: 70.69 kB / 0.5583 GB, free: 16.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.4909, allocations: 6.495 MB / 0.5647 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.491, allocations: 0 / 0.5647 GB, free: 12.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.491, allocations: 11.28 kB / 0.5647 GB, free: 12.56 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.0005231/0.4915, allocations: 0.5884 MB / 0.5652 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4916, allocations: 12.03 kB / 0.5653 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.4917, allocations: 54.78 kB / 0.5653 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.4923, allocations: 485.1 kB / 0.5658 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4924, allocations: 0 / 0.5658 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.4924, allocations: 7.828 kB / 0.5658 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.4925, allocations: 84.25 kB / 0.5659 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.4925, allocations: 3.984 kB / 0.5659 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4925, allocations: 5.359 kB / 0.5659 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4926, allocations: 4 kB / 0.5659 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.4926, allocations: 26.55 kB / 0.5659 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.4929, allocations: 389.9 kB / 0.5663 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.4931, allocations: 102.1 kB / 0.5664 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.4931, allocations: 36.36 kB / 0.5664 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.4931, allocations: 4 kB / 0.5664 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.4933, allocations: 104.7 kB / 0.5665 GB, free: 10.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4933, allocations: 0 / 0.5665 GB, free: 10.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000287/0.4936, allocations: 174.4 kB / 0.5667 GB, free: 10.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.4936, allocations: 82.55 kB / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.4946, allocations: 0.9294 MB / 0.5677 GB, free: 9.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.4947, allocations: 36.95 kB / 0.5677 GB, free: 9.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4948, allocations: 229.1 kB / 0.5679 GB, free: 9.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.4948, allocations: 27.02 kB / 0.5679 GB, free: 9.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.4948, allocations: 4 kB / 0.5679 GB, free: 9.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.4949, allocations: 367.2 kB / 0.5683 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.4949, allocations: 26.5 kB / 0.5683 GB, free: 9.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.495, allocations: 54.42 kB / 0.5684 GB, free: 9.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.495, allocations: 38.11 kB / 0.5684 GB, free: 9.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4951, allocations: 0 / 0.5684 GB, free: 9.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001837/0.4952, allocations: 163.8 kB / 0.5686 GB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4953, allocations: 5.406 kB / 0.5686 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4953, allocations: 4 kB / 0.5686 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4953, allocations: 0 / 0.5686 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4954, allocations: 27.92 kB / 0.5686 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4954, allocations: 8.047 kB / 0.5686 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-05/0.4955, allocations: 19.16 kB / 0.5686 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4955, allocations: 7.984 kB / 0.5686 GB, free: 8.863 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 () * 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 4.934e-05/0.4956, allocations: 117 kB / 0.5687 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.4957, allocations: 51.44 kB / 0.5688 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.4959, allocations: 193.4 kB / 0.569 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4959, allocations: 3.938 kB / 0.569 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4959, allocations: 8.062 kB / 0.569 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.496, allocations: 1.406 kB / 0.569 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.4962, allocations: 395.4 kB / 0.5694 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4962, allocations: 0 / 0.5694 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.4962, allocations: 12 kB / 0.5694 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4962, allocations: 0 / 0.5694 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4963, allocations: 11.92 kB / 0.5694 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4963, allocations: 0 / 0.5694 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4963, allocations: 0 / 0.5694 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.4965, allocations: 222.8 kB / 0.5696 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.4967, allocations: 196 kB / 0.5698 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.4968, allocations: 4 kB / 0.5698 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.4969, allocations: 7.984 kB / 0.5698 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.4969, allocations: 11.3 kB / 0.5698 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4969, allocations: 7.984 kB / 0.5698 GB, free: 7.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006118/0.4975, allocations: 0.7415 MB / 0.5705 GB, free: 7.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4976, allocations: 9.25 kB / 0.5705 GB, free: 7.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.4978, allocations: 87.05 kB / 0.5706 GB, free: 7.062 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) * 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.000723/0.4985, allocations: 374.2 kB / 0.571 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.4987, allocations: 81.05 kB / 0.5711 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4987, allocations: 0 / 0.5711 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.4988, allocations: 46.42 kB / 0.5711 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.4991, allocations: 72.45 kB / 0.5712 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.4999, allocations: 0.7774 MB / 0.5719 GB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.5002, allocations: 0.856 MB / 0.5728 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.5003, allocations: 90.95 kB / 0.5729 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.5004, allocations: 43.05 kB / 0.5729 GB, free: 4.914 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5004, allocations: 4 kB / 0.5729 GB, free: 4.91 MB / 394.7 MB Notification: Performance of Templates: time 0.00665/0.507, allocations: 4.597 MB / 0.5774 GB, free: 340 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches