Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008577, allocations: 96.69 kB / 16.98 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.0008864/0.0008865, allocations: 184.2 kB / 17.87 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.437/1.437, 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.2074/0.2074, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 16 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 61.91 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002395/0.1383, allocations: 1.352 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1398, allocations: 0.7802 MB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.1399, allocations: 3.938 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1402, allocations: 63.78 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1404, allocations: 47.88 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1407, allocations: 87.7 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1409, allocations: 67.84 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.141, allocations: 4 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.1411, allocations: 39.84 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1412, allocations: 39.83 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1412, allocations: 4 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-05/0.1413, allocations: 19.94 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.1413, allocations: 15.91 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.1414, allocations: 33.7 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1416, allocations: 80.05 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1416, allocations: 4 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1416, allocations: 0 / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1416, allocations: 0 / 474.1 MB, free: 11.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005485/0.1422, allocations: 387 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1422, allocations: 8.031 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.1423, allocations: 7.906 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1425, allocations: 202.9 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1426, allocations: 4 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1426, allocations: 8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1428, allocations: 49.62 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1428, allocations: 0 / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1428, allocations: 3.938 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.1428, allocations: 4 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.579e-05/0.1429, allocations: 12 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.1431, allocations: 185.5 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1433, allocations: 54.61 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1433, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.1435, allocations: 75.38 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1435, allocations: 0 / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003028/0.1439, allocations: 93.58 kB / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1439, allocations: 55.34 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1441, allocations: 194.1 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1441, allocations: 25.7 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1442, allocations: 100.1 kB / 475.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1442, allocations: 15.81 kB / 475.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.1442, allocations: 0 / 475.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1444, allocations: 322.8 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.1444, allocations: 15.98 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.1445, allocations: 25.66 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.128e-05/0.1445, allocations: 23.98 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1445, allocations: 0 / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001571/0.1447, allocations: 77.59 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1447, allocations: 4 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1447, allocations: 3.953 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1448, allocations: 3.938 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.1449, allocations: 15.98 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.1449, allocations: 0 / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1449, allocations: 8.031 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1449, allocations: 4 kB / 476 MB, free: 8.91 MB / 350.1 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 () * Number of clocked 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 0.0001176/0.1451, allocations: 118.4 kB / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1451, allocations: 15.83 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.1452, allocations: 12.31 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1452, allocations: 7.953 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1452, allocations: 3.984 kB / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1452, allocations: 0 / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1454, allocations: 185.5 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1454, allocations: 4 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.1454, allocations: 0 / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1454, allocations: 4 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1454, allocations: 4 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1455, allocations: 0 / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1455, allocations: 7.891 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1457, allocations: 105.3 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1458, allocations: 92.95 kB / 476.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.1458, allocations: 7.984 kB / 476.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.1459, allocations: 4 kB / 476.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1459, allocations: 3.953 kB / 476.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.146, allocations: 4 kB / 476.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1461, allocations: 139.2 kB / 476.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1461, allocations: 0 / 476.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1464, allocations: 16 kB / 476.8 MB, free: 8.09 MB / 350.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001155/0.1475, allocations: 408.8 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1477, allocations: 51.91 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1477, allocations: 0 / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/0.1478, allocations: 16 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.148, allocations: 23.92 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.1485, allocations: 209.1 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1488, allocations: 0.7043 MB / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.1488, allocations: 16.53 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.1489, allocations: 19.38 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1489, allocations: 0 / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of Templates: time 0.004446/0.1533, allocations: 1.37 MB / 479.6 MB, free: 5.398 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches