Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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 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 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 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 100.6 kB / 16.27 MB, free: 5.93 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.002487/0.002487, allocations: 189.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2452/0.2452, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002064, allocations: 78.62 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1358, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003652/0.1395, allocations: 1.697 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1416, allocations: 1.402 MB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1417, allocations: 0 / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.1421, allocations: 39.77 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1424, allocations: 67.69 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1426, allocations: 83.39 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1428, allocations: 99.69 kB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1429, allocations: 4.516 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.143, allocations: 47.78 kB / 444 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1431, allocations: 35.84 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1432, allocations: 4 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1433, allocations: 67.91 kB / 444.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1433, allocations: 19.91 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1434, allocations: 27.81 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1436, allocations: 123.7 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1436, allocations: 0 / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1436, allocations: 3.938 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1436, allocations: 0 / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004692/0.1441, allocations: 403 kB / 444.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1441, allocations: 11.89 kB / 444.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1442, allocations: 12.84 kB / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1444, allocations: 205.4 kB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1444, allocations: 4.375 kB / 444.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1444, allocations: 8.125 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1446, allocations: 63.39 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1446, allocations: 7.891 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1446, allocations: 0 / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1447, allocations: 4 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.1447, allocations: 19.98 kB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.1451, allocations: 288.8 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1452, allocations: 54.69 kB / 445.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.1453, allocations: 24.78 kB / 445.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1453, allocations: 0 / 445.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1455, allocations: 83.27 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1455, allocations: 0 / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005201/0.1461, allocations: 161.4 kB / 445.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.1461, allocations: 81.05 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.1462, allocations: 156.9 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1462, allocations: 25.7 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.1463, allocations: 100.1 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1463, allocations: 31.62 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1464, allocations: 25.72 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.1464, allocations: 326.8 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.1465, allocations: 19.98 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.1465, allocations: 42.56 kB / 446.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1466, allocations: 61.69 kB / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1467, allocations: 0 / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.1468, allocations: 97.58 kB / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1469, allocations: 4 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1469, allocations: 0 / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1469, allocations: 0 / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.147, allocations: 23.94 kB / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.147, allocations: 3.984 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.147, allocations: 7.875 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1471, allocations: 8 kB / 446.6 MB, free: 0.6055 MB / 318.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 (10): * Single equations (assignments): 10 * 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 8.04e-05/0.1471, allocations: 129.3 kB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.1472, allocations: 7.906 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.1472, allocations: 16.7 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1472, allocations: 0 / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1472, allocations: 0 / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1473, allocations: 3.938 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.1476, allocations: 391.4 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1477, allocations: 0 / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.1477, allocations: 11.94 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1477, allocations: 4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1477, allocations: 3.938 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1477, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1477, allocations: 4.125 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.1481, allocations: 200.6 kB / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.1481, allocations: 92.89 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.1482, allocations: 12.3 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.1483, allocations: 4 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.1483, allocations: 4 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1483, allocations: 11.98 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1485, allocations: 111.3 kB / 447.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1485, allocations: 0 / 447.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.1488, allocations: 39.98 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001239/0.15, allocations: 494.8 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.1503, allocations: 63.97 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1503, allocations: 7.875 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.1504, allocations: 27.98 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1507, allocations: 27.92 kB / 448.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.1513, allocations: 199 kB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1518, allocations: 0.6962 MB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.862e-05/0.1519, allocations: 29.16 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.152, allocations: 19.42 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.152, allocations: 0 / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Templates: time 0.006021/0.158, allocations: 1.938 MB / 451.1 MB, free: 12.03 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches