Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002386/0.002386, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.382/2.382, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3559/0.3559, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002565, allocations: 81.78 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1391, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.004806/0.1439, allocations: 1.745 MB / 481.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1466, allocations: 0.9978 MB / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1467, allocations: 0 / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1471, allocations: 67.78 kB / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.1476, allocations: 91.72 kB / 482.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1479, allocations: 51.89 kB / 482.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.1482, allocations: 103.6 kB / 483 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.1483, allocations: 16.16 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1484, allocations: 43.78 kB / 483.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1485, allocations: 43.83 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1486, allocations: 7.938 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1487, allocations: 27.98 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.1488, allocations: 15.94 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.1489, allocations: 31.73 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.1491, allocations: 84.11 kB / 483.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1491, allocations: 0 / 483.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1492, allocations: 4 kB / 483.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1492, allocations: 3.938 kB / 483.3 MB, free: 2.371 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.0007164/0.1499, allocations: 403 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.15, allocations: 12.88 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.15, allocations: 8.844 kB / 483.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1504, allocations: 212.8 kB / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1504, allocations: 384 / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1505, allocations: 8.062 kB / 483.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1507, allocations: 53.67 kB / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1507, allocations: 0 / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1507, allocations: 0 / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1507, allocations: 0 / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1508, allocations: 15.98 kB / 484 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.1511, allocations: 181.7 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1514, allocations: 54.56 kB / 484.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.1515, allocations: 28.78 kB / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1516, allocations: 0 / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.1519, allocations: 59.39 kB / 484.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/0.1519, allocations: 0 / 484.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004261/0.1523, allocations: 97.48 kB / 484.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.1524, allocations: 59.34 kB / 484.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1527, allocations: 190.9 kB / 484.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1527, allocations: 29.7 kB / 484.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.1528, allocations: 108.1 kB / 484.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1528, allocations: 3.906 kB / 484.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.1529, allocations: 25.7 kB / 484.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1531, allocations: 322.8 kB / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.1532, allocations: 12 kB / 485.1 MB, free: 316 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.1533, allocations: 33.7 kB / 485.1 MB, free: 276 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1535, allocations: 41.7 kB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1535, allocations: 4 kB / 485.2 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002677/0.1538, allocations: 85.38 kB / 485.3 MB, free: 132 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1538, allocations: 4 kB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1538, allocations: 4.25 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1538, allocations: 7.984 kB / 485.3 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.154, allocations: 15.98 kB / 485.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.154, allocations: 7.969 kB / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.1541, allocations: 4 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1541, allocations: 0 / 485.3 MB, free: 88 kB / 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.0001758/0.1543, allocations: 133.8 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1544, allocations: 11.81 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.1544, allocations: 9 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1544, allocations: 0 / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1544, allocations: 0 / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1545, allocations: 0 / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1547, allocations: 201.4 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1547, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1548, allocations: 8 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1548, allocations: 0 / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1548, allocations: 4 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1548, allocations: 0 / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1548, allocations: 0 / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1551, allocations: 108.9 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1552, allocations: 89.02 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.1552, allocations: 7.984 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.1553, allocations: 0 / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.1554, allocations: 4 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1554, allocations: 4 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1556, allocations: 152.7 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1556, allocations: 3.938 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.1561, allocations: 19.98 kB / 486.1 MB, free: 15.25 MB / 366.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.001556/0.1576, allocations: 409.7 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1579, allocations: 39.92 kB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1579, allocations: 0 / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.158, allocations: 20 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.1585, allocations: 27.91 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.1592, allocations: 257.4 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.1596, allocations: 0.7004 MB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.1597, allocations: 19.42 kB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1597, allocations: 0 / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005281/0.165, allocations: 1.714 MB / 489.2 MB, free: 12.15 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches