Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001234, allocations: 95.84 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 170.6 kB / 16.58 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 222.7 MB, free: 5.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.443/0.443, allocations: 43.57 MB / 314.6 MB, free: 9.023 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.000557/0.0005573, allocations: 20 kB / 384 MB, free: 8.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1407, allocations: 58.87 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002581/0.1433, allocations: 1.519 MB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1449, allocations: 0.8358 MB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1451, allocations: 4 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.1456, allocations: 143.6 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.146, allocations: 119.6 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.1464, allocations: 131.7 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.1469, allocations: 187.4 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.147, allocations: 33.5 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1472, allocations: 87.62 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1474, allocations: 107.6 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1474, allocations: 7.938 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1476, allocations: 39.98 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.1477, allocations: 43.77 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.1478, allocations: 49.64 kB / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.148, allocations: 143.9 kB / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.148, allocations: 4 kB / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.148, allocations: 0 / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.148, allocations: 0 / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008229/0.1489, allocations: 494.2 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.1489, allocations: 16.02 kB / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.149, allocations: 23.62 kB / 446.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.1493, allocations: 254.5 kB / 447 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1494, allocations: 8 kB / 447 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1494, allocations: 8 kB / 447 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1497, allocations: 91.36 kB / 447.1 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1497, allocations: 4 kB / 447.1 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1497, allocations: 3.953 kB / 447.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1497, allocations: 0 / 447.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1499, allocations: 39.91 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.1506, allocations: 444.9 kB / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.1509, allocations: 109.3 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.151, allocations: 45.7 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.1511, allocations: 7.953 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.1514, allocations: 116.9 kB / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.1515, allocations: 0 / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009177/0.1524, allocations: 356.1 kB / 448.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.1525, allocations: 85.05 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.1529, allocations: 351 kB / 448.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1529, allocations: 33.7 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1531, allocations: 140.4 kB / 448.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.991e-05/0.1531, allocations: 51.34 kB / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.1532, allocations: 0 / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1533, allocations: 342.8 kB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1535, allocations: 39.94 kB / 449.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1536, allocations: 71.41 kB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1537, allocations: 48.14 kB / 449.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1538, allocations: 3.984 kB / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003475/0.1541, allocations: 177.2 kB / 449.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1541, allocations: 8 kB / 449.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1542, allocations: 0 / 449.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1542, allocations: 3.984 kB / 449.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1544, allocations: 35.92 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1544, allocations: 0 / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.1545, allocations: 8.75 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1546, allocations: 8 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002705/0.1549, allocations: 161.8 kB / 449.8 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.155, allocations: 23.72 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.575e-05/0.1551, allocations: 33.73 kB / 449.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1551, allocations: 0 / 449.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.1551, allocations: 3.984 kB / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1551, allocations: 8 kB / 449.8 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008794/0.156, allocations: 0.6124 MB / 450.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.156, allocations: 0 / 450.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.1561, allocations: 19.98 kB / 450.5 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1561, allocations: 4 kB / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1561, allocations: 0 / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.1561, allocations: 7.938 kB / 450.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1561, allocations: 7.891 kB / 450.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1565, allocations: 360.3 kB / 450.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.1566, allocations: 100.7 kB / 450.9 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.1567, allocations: 8 kB / 450.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1568, allocations: 7.984 kB / 451 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.1569, allocations: 27.88 kB / 451 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1569, allocations: 8 kB / 451 MB, free: 4.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.1572, allocations: 261.9 kB / 451.2 MB, free: 4.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1572, allocations: 0 / 451.2 MB, free: 4.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.1576, allocations: 35.98 kB / 451.3 MB, free: 4.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001228/0.1588, allocations: 473.6 kB / 451.7 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.1592, allocations: 115.8 kB / 451.9 MB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1593, allocations: 3.938 kB / 451.9 MB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1594, allocations: 63.84 kB / 451.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.1599, allocations: 48.97 kB / 452 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.1608, allocations: 469.4 kB / 452.4 MB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1612, allocations: 0.7518 MB / 453.2 MB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1613, allocations: 30.55 kB / 453.2 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.1614, allocations: 27.44 kB / 453.2 MB, free: 2.398 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1614, allocations: 0 / 453.2 MB, free: 2.398 MB / 382.1 MB Notification: Performance of Templates: time 0.2097/0.3711, allocations: 2.477 MB / 455.7 MB, free: 45.72 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches