Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 99.92 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001412, allocations: 178.6 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.00036, allocations: 9.25 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002729/0.1415, allocations: 1.583 MB / 473 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.143, allocations: 0.8269 MB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1432, allocations: 0 / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1435, allocations: 39.77 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1438, allocations: 47.86 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1442, allocations: 106.6 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.1445, allocations: 87.78 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1446, allocations: 25.47 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1448, allocations: 43.78 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.1449, allocations: 35.78 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1449, allocations: 8 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.145, allocations: 31.92 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.1451, allocations: 19.86 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1452, allocations: 45.64 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1454, allocations: 104 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1454, allocations: 0 / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1454, allocations: 0 / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1454, allocations: 0 / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007545/0.1462, allocations: 472.4 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1462, allocations: 8.031 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.1463, allocations: 15.81 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1466, allocations: 214.8 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1466, allocations: 4 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1467, allocations: 8 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1469, allocations: 112.2 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1469, allocations: 4 kB / 475.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.147, allocations: 0 / 475.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.147, allocations: 3.984 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1471, allocations: 55.91 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.1478, allocations: 0.5164 MB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.1481, allocations: 82.66 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1482, allocations: 8 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.1484, allocations: 91.25 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.1484, allocations: 0 / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003843/0.1488, allocations: 145.5 kB / 476.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1489, allocations: 55.41 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1491, allocations: 191.4 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1491, allocations: 29.7 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.1492, allocations: 108 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1492, allocations: 23.66 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.1492, allocations: 4 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1494, allocations: 330.8 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.1495, allocations: 35.98 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.1496, allocations: 64.27 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/0.1497, allocations: 35.94 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1497, allocations: 0 / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002819/0.15, allocations: 145.3 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.15, allocations: 4 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.15, allocations: 4 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.15, allocations: 0 / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1502, allocations: 32.05 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1502, allocations: 4.469 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.1502, allocations: 19.83 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1503, allocations: 4 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001262/0.1504, allocations: 130.3 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1504, allocations: 11.81 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.1505, allocations: 21.33 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1505, allocations: 4 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1505, allocations: 4 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1505, allocations: 0 / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1507, allocations: 213.7 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1507, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.1508, allocations: 19.92 kB / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1508, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1508, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1508, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1508, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.1512, allocations: 196.8 kB / 477.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.1513, allocations: 92.94 kB / 477.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1513, allocations: 0 / 477.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1514, allocations: 11.98 kB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1515, allocations: 8.062 kB / 477.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1515, allocations: 8 kB / 477.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1516, allocations: 137.2 kB / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1516, allocations: 0 / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1518, allocations: 36.02 kB / 478.1 MB, free: 6.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * 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.0008791/0.1527, allocations: 415.6 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.153, allocations: 87.84 kB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.153, allocations: 0 / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1531, allocations: 39.97 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.1534, allocations: 30.47 kB / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1539, allocations: 294.5 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1542, allocations: 0.7204 MB / 479.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.1543, allocations: 25.41 kB / 479.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.1543, allocations: 15.81 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1543, allocations: 0 / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Templates: time 0.00483/0.1592, allocations: 1.728 MB / 481.4 MB, free: 3.496 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches