Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 98.45 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 46.18 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 8 kB / 418.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 63.57 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002695/0.1436, allocations: 1.384 MB / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1453, allocations: 0.9129 MB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1454, allocations: 4 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.1458, allocations: 83.77 kB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1462, allocations: 95.7 kB / 484.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.1464, allocations: 51.88 kB / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1465, allocations: 91.69 kB / 485 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.1466, allocations: 8.172 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.1467, allocations: 47.77 kB / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1468, allocations: 51.77 kB / 485.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1468, allocations: 0 / 485.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.1469, allocations: 31.98 kB / 485.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.147, allocations: 19.91 kB / 485.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.147, allocations: 41.64 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1473, allocations: 80.09 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1473, allocations: 4 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1473, allocations: 0 / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1473, allocations: 0 / 485.3 MB, free: 1.59 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.0006606/0.148, allocations: 398.8 kB / 485.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.148, allocations: 12.03 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1481, allocations: 11.91 kB / 485.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.1485, allocations: 215.2 kB / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1486, allocations: 0 / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1486, allocations: 7.938 kB / 485.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1488, allocations: 45.67 kB / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1488, allocations: 0 / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1488, allocations: 0 / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1488, allocations: 0 / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.1489, allocations: 15.98 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.1491, allocations: 193.6 kB / 486.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1493, allocations: 54.56 kB / 486.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.1494, allocations: 24.83 kB / 486.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1494, allocations: 7.984 kB / 486.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1496, allocations: 63.39 kB / 486.3 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1496, allocations: 0 / 486.3 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002785/0.1499, allocations: 93.48 kB / 486.4 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1499, allocations: 63.34 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.1502, allocations: 216.3 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1502, allocations: 29.7 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.1503, allocations: 104.1 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.1503, allocations: 11.84 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.1503, allocations: 4 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1505, allocations: 326.8 kB / 487.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.1505, allocations: 15.98 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.1506, allocations: 25.7 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.1507, allocations: 16 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1507, allocations: 7.953 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001455/0.1508, allocations: 81.44 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1509, allocations: 8.031 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.1509, allocations: 11.88 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1509, allocations: 0 / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.151, allocations: 11.98 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.151, allocations: 0 / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.151, allocations: 4.312 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1511, allocations: 0 / 487.4 MB, free: 15.32 MB / 366.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.1512, allocations: 129.8 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1512, allocations: 19.77 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1513, allocations: 20.94 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1513, allocations: 4 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1513, allocations: 3.984 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1513, allocations: 0 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1515, allocations: 185.6 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1515, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.1515, allocations: 11.94 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1515, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1515, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1515, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1515, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.1518, allocations: 113 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.1518, allocations: 88.92 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1519, allocations: 7.953 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.1519, allocations: 3.984 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.152, allocations: 4 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.152, allocations: 4 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1522, allocations: 173.1 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1522, allocations: 0 / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1524, allocations: 16 kB / 488.1 MB, free: 14.46 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 (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.001187/0.1536, allocations: 413.4 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1538, allocations: 35.98 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1538, allocations: 0 / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.1539, allocations: 23.92 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1542, allocations: 34.92 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.1547, allocations: 233.5 kB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.1552, allocations: 0.7083 MB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.1553, allocations: 16.53 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.1553, allocations: 15.44 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1553, allocations: 0 / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.004648/0.16, allocations: 1.395 MB / 491 MB, free: 11.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches