Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 101 kB / 16.27 MB, free: 5.895 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.001184/0.001184, allocations: 184.1 kB / 17.19 MB, free: 5.535 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.755/1.755, 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.2562/0.2562, 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.001769/0.001769, allocations: 74.53 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1332, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.005416/0.1387, allocations: 1.728 MB / 442.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.14, allocations: 0.7922 MB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1402, allocations: 3.938 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.1407, allocations: 107.7 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.1411, allocations: 87.64 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.1415, allocations: 91.27 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.1419, allocations: 123.7 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1421, allocations: 12.28 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1423, allocations: 63.75 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.1425, allocations: 67.75 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.1426, allocations: 4 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1428, allocations: 47.92 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1429, allocations: 31.91 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.412e-05/0.143, allocations: 43.67 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1434, allocations: 139.5 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1434, allocations: 0 / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1434, allocations: 0 / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1434, allocations: 0 / 443.8 MB, free: 3.562 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006408/0.1441, allocations: 446.6 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1441, allocations: 15.89 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.1442, allocations: 12.84 kB / 444.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1445, allocations: 219.9 kB / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1445, allocations: 12.36 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.1446, allocations: 16.03 kB / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1448, allocations: 61.67 kB / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1448, allocations: 0 / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1448, allocations: 0 / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1449, allocations: 4 kB / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.145, allocations: 39.84 kB / 444.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.1454, allocations: 312.7 kB / 445 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1457, allocations: 86.75 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.1457, allocations: 24.84 kB / 445.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1458, allocations: 0 / 445.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.146, allocations: 75.38 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.146, allocations: 4 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007352/0.1468, allocations: 224.9 kB / 445.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1468, allocations: 55.41 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.147, allocations: 250.2 kB / 445.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.147, allocations: 33.7 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.1471, allocations: 112.1 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.1471, allocations: 35.53 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1472, allocations: 25.72 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.1473, allocations: 334.8 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.1473, allocations: 27.94 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.1474, allocations: 49.69 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1475, allocations: 77.7 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1475, allocations: 0 / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002118/0.1478, allocations: 133.4 kB / 446.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1478, allocations: 8.031 kB / 446.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1478, allocations: 7.984 kB / 446.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1478, allocations: 0 / 446.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1479, allocations: 20 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.148, allocations: 7.938 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.148, allocations: 7.984 kB / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.148, allocations: 4 kB / 446.5 MB, free: 0.6289 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 (13): * Single equations (assignments): 13 * 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.867e-05/0.1481, allocations: 145.6 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1482, allocations: 19.81 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.1482, allocations: 21.41 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1482, allocations: 3.984 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1482, allocations: 3.938 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1483, allocations: 0 / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.1487, allocations: 451.1 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1488, allocations: 0 / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.1488, allocations: 16.03 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1488, allocations: 7.969 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1488, allocations: 4 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1489, allocations: 0 / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1489, allocations: 3.984 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.1492, allocations: 232.1 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.1493, allocations: 92.86 kB / 447.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.1493, allocations: 7.984 kB / 447.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1494, allocations: 4 kB / 447.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1494, allocations: 11.98 kB / 447.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1495, allocations: 4 kB / 447.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1496, allocations: 188.2 kB / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1496, allocations: 0 / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1499, allocations: 28 kB / 447.7 MB, free: 15.3 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 (11): * Single equations (assignments): 9 * 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.00121/0.1512, allocations: 469 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.1514, allocations: 83.89 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1514, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.1515, allocations: 43.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1519, allocations: 44.39 kB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.1526, allocations: 307.8 kB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1529, allocations: 0.7162 MB / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.136e-05/0.153, allocations: 21.08 kB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.1531, allocations: 19.44 kB / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1531, allocations: 4 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Templates: time 0.005651/0.1587, allocations: 1.917 MB / 451.4 MB, free: 11.74 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches