Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001622/0.001622, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.399/1.399, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2136/0.2136, allocations: 44.18 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 68.02 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1397, allocations: 60.84 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.004802/0.1446, allocations: 1.648 MB / 471.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1466, allocations: 0.8613 MB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1468, allocations: 0 / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.1473, allocations: 59.8 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.1478, allocations: 71.67 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.1483, allocations: 95.69 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1485, allocations: 107.7 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.773e-05/0.1486, allocations: 7.984 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1487, allocations: 39.84 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1488, allocations: 51.7 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1489, allocations: 4 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.149, allocations: 28 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1491, allocations: 19.91 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.1492, allocations: 27.81 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1494, allocations: 99.92 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1494, allocations: 4 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1494, allocations: 0 / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1494, allocations: 0 / 473 MB, free: 11.25 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.0005922/0.15, allocations: 407 kB / 473.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1501, allocations: 8.031 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.1501, allocations: 8.844 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1503, allocations: 200.2 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1504, allocations: 384 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1504, allocations: 12.12 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1506, allocations: 53.67 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1506, allocations: 0 / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1506, allocations: 0 / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1506, allocations: 0 / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.1507, allocations: 23.86 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.1509, allocations: 189.5 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1511, allocations: 54.62 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.1511, allocations: 24.78 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1512, allocations: 3.938 kB / 474 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.1514, allocations: 63.39 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.025e-06/0.1514, allocations: 0 / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003036/0.1517, allocations: 97.52 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1518, allocations: 55.41 kB / 474.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.152, allocations: 186.1 kB / 474.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.152, allocations: 33.7 kB / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.1521, allocations: 100.1 kB / 474.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1521, allocations: 7.812 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.1521, allocations: 21.72 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1523, allocations: 318.8 kB / 474.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.1523, allocations: 19.97 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.1524, allocations: 37.7 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.404e-05/0.1525, allocations: 41.66 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1525, allocations: 0 / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.1527, allocations: 89.45 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1527, allocations: 4 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1527, allocations: 0 / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1527, allocations: 4.031 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.1528, allocations: 12 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1528, allocations: 160 / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.1529, allocations: 0 / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1529, allocations: 11.97 kB / 475.1 MB, free: 8.969 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.153, allocations: 125.8 kB / 475.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.153, allocations: 7.906 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.1531, allocations: 12.3 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1531, allocations: 4 kB / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1531, allocations: 4.312 kB / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1531, allocations: 0 / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1533, allocations: 193.5 kB / 475.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1533, allocations: 4 kB / 475.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.1533, allocations: 3.938 kB / 475.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1533, allocations: 4 kB / 475.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1533, allocations: 3.984 kB / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1533, allocations: 0 / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1533, allocations: 0 / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.1535, allocations: 116.9 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.1536, allocations: 88.95 kB / 475.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1536, allocations: 3.938 kB / 475.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.1536, allocations: 4 kB / 475.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1537, allocations: 7.984 kB / 475.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1537, allocations: 4 kB / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1538, allocations: 135.2 kB / 475.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1538, allocations: 0 / 475.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.154, allocations: 23.98 kB / 475.8 MB, free: 8.137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009634/0.155, allocations: 400.9 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1552, allocations: 39.98 kB / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1552, allocations: 0 / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.393e-05/0.1553, allocations: 27.86 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1556, allocations: 30.52 kB / 476.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.156, allocations: 232 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1563, allocations: 0.6963 MB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.1564, allocations: 15.44 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1564, allocations: 4 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of Templates: time 0.003683/0.1601, allocations: 1.685 MB / 478.9 MB, free: 5.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches