Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") 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: 105.3 kB / 17.03 MB, free: 6.129 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.001389/0.001389, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.757/1.757, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2486/0.2486, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 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.001521/0.001521, allocations: 72.3 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1368, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003358/0.1403, allocations: 1.698 MB / 443.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1414, allocations: 0.7961 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.1415, allocations: 4 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.1419, allocations: 43.83 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1422, allocations: 51.7 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1424, allocations: 87.75 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1426, allocations: 95.69 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1428, allocations: 12.23 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1428, allocations: 43.78 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.1429, allocations: 27.86 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1429, allocations: 7.984 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1431, allocations: 43.92 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.1431, allocations: 19.92 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.1432, allocations: 31.75 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1434, allocations: 115.6 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1434, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1434, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1435, allocations: 0 / 445 MB, free: 3.051 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.0005836/0.144, allocations: 414.9 kB / 445.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1441, allocations: 19.83 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.1442, allocations: 8.844 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1445, allocations: 220.6 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1445, allocations: 384 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1445, allocations: 8.125 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1447, allocations: 53.67 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1447, allocations: 0 / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1447, allocations: 7.984 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1447, allocations: 0 / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.1448, allocations: 16 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1452, allocations: 296.8 kB / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1454, allocations: 50.69 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1454, allocations: 24.84 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1455, allocations: 4 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.1456, allocations: 71.33 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1456, allocations: 0 / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005171/0.1461, allocations: 177.2 kB / 446.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1462, allocations: 59.34 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1463, allocations: 199.3 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1464, allocations: 29.7 kB / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1464, allocations: 108 kB / 446.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1464, allocations: 19.75 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1465, allocations: 21.7 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.1466, allocations: 330.8 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.1466, allocations: 16 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.1467, allocations: 37.7 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.1468, allocations: 65.64 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1468, allocations: 0 / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001539/0.1469, allocations: 97.56 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.147, allocations: 8 kB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.147, allocations: 80 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.147, allocations: 0 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.1471, allocations: 19.94 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1471, allocations: 12.02 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.1472, allocations: 11.86 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1472, allocations: 7.984 kB / 447.4 MB, free: 460 kB / 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 9.325e-05/0.1473, allocations: 125.8 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.1473, allocations: 15.81 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1474, allocations: 17.39 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1474, allocations: 0 / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1474, allocations: 0 / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1474, allocations: 7.938 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.1478, allocations: 391.3 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1478, allocations: 0 / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.1479, allocations: 11.98 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1479, allocations: 4 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1479, allocations: 4.125 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1479, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1479, allocations: 7.875 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1481, allocations: 204.7 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.1482, allocations: 88.92 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1482, allocations: 11.92 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.1483, allocations: 4 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1483, allocations: 8 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1484, allocations: 7.984 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1485, allocations: 148.9 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1485, allocations: 4 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1488, allocations: 27.98 kB / 448.5 MB, free: 15.27 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.001068/0.1498, allocations: 465.4 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.15, allocations: 59.97 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.15, allocations: 0 / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.1501, allocations: 27.94 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1505, allocations: 27.97 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.151, allocations: 227.6 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.1514, allocations: 0.7081 MB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.1514, allocations: 16.86 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1515, allocations: 15.44 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1515, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of Templates: time 0.004879/0.1564, allocations: 1.704 MB / 451.7 MB, free: 12.08 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches