Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 117.1 kB / 18.45 MB, free: 4.602 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001298, allocations: 201.8 kB / 21.4 MB, free: 1.656 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.4 MB / 251.6 MB, free: 84 kB / 190.1 MB [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2577/0.2577, allocations: 46.16 MB / 351.1 MB, free: 14.3 MB / 286.1 MB [Timeout remaining time 180] 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 83.08 kB / 490.2 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1458, allocations: 62.43 MB / 0.5397 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004137/0.1499, allocations: 1.976 MB / 0.5416 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.1524, allocations: 1.197 MB / 0.5428 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1525, allocations: 4 kB / 0.5428 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.1533, allocations: 195.3 kB / 0.543 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.1538, allocations: 207.2 kB / 0.5432 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1543, allocations: 156.9 kB / 0.5433 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.1546, allocations: 275.2 kB / 0.5436 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1548, allocations: 24.31 kB / 0.5436 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.155, allocations: 111.5 kB / 0.5437 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1552, allocations: 107.6 kB / 0.5438 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1552, allocations: 12 kB / 0.5438 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1554, allocations: 59.95 kB / 0.5439 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1555, allocations: 51.78 kB / 0.544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1556, allocations: 95.33 kB / 0.544 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1561, allocations: 242.9 kB / 0.5443 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1561, allocations: 0 / 0.5443 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1561, allocations: 7.938 kB / 0.5443 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1561, allocations: 4 kB / 0.5443 GB, free: 15.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001104/0.1572, allocations: 0.562 MB / 0.5448 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1573, allocations: 12.03 kB / 0.5448 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.1574, allocations: 24.8 kB / 0.5449 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.1578, allocations: 295.7 kB / 0.5452 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1579, allocations: 384 / 0.5452 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1579, allocations: 16.06 kB / 0.5452 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1582, allocations: 108.2 kB / 0.5453 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1582, allocations: 0 / 0.5453 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1582, allocations: 0 / 0.5453 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1582, allocations: 4 kB / 0.5453 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1584, allocations: 39.92 kB / 0.5453 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.1589, allocations: 377.6 kB / 0.5457 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.1593, allocations: 121.2 kB / 0.5458 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1594, allocations: 49.69 kB / 0.5458 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1594, allocations: 4 kB / 0.5458 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.1597, allocations: 105.1 kB / 0.5459 GB, free: 13.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.1597, allocations: 0 / 0.5459 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005064/0.1602, allocations: 185.4 kB / 0.5461 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/0.1603, allocations: 114.8 kB / 0.5462 GB, free: 13.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.1608, allocations: 355.3 kB / 0.5466 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1608, allocations: 29.69 kB / 0.5466 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1609, allocations: 148.1 kB / 0.5467 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.161, allocations: 27.8 kB / 0.5468 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.161, allocations: 37.64 kB / 0.5468 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1612, allocations: 342.8 kB / 0.5471 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.1613, allocations: 27.98 kB / 0.5471 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1614, allocations: 86.75 kB / 0.5472 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1616, allocations: 91.36 kB / 0.5473 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1616, allocations: 0 / 0.5473 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002913/0.1619, allocations: 153.5 kB / 0.5475 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.162, allocations: 5.875 kB / 0.5475 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.162, allocations: 0 / 0.5475 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.162, allocations: 4 kB / 0.5475 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1621, allocations: 20.56 kB / 0.5475 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1622, allocations: 7.984 kB / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.1622, allocations: 7.953 kB / 0.5475 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1623, allocations: 11.94 kB / 0.5475 GB, free: 12 MB / 414.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001738/0.1624, allocations: 162.9 kB / 0.5477 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1625, allocations: 31.8 kB / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.1626, allocations: 25.83 kB / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1626, allocations: 7.938 kB / 0.5477 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1626, allocations: 0 / 0.5477 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1626, allocations: 0 / 0.5477 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.1629, allocations: 261.4 kB / 0.548 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1629, allocations: 0 / 0.548 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1629, allocations: 12 kB / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1629, allocations: 4 kB / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1629, allocations: 0 / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.163, allocations: 4 kB / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.163, allocations: 0 / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.1633, allocations: 189.6 kB / 0.5482 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.1634, allocations: 96.97 kB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.1634, allocations: 4 kB / 0.5483 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.1635, allocations: 11.98 kB / 0.5483 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.1636, allocations: 15.98 kB / 0.5483 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1636, allocations: 7.938 kB / 0.5483 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002931/0.1639, allocations: 261.9 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1639, allocations: 0 / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1642, allocations: 35.94 kB / 0.5486 GB, free: 10.79 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001584/0.1658, allocations: 413.4 kB / 0.549 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.1661, allocations: 87.91 kB / 0.5491 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.1661, allocations: 4 kB / 0.5491 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1662, allocations: 47.91 kB / 0.5491 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1667, allocations: 68.64 kB / 0.5492 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.1674, allocations: 400.7 kB / 0.5496 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1678, allocations: 0.752 MB / 0.5503 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.1679, allocations: 33.92 kB / 0.5503 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.168, allocations: 27.38 kB / 0.5504 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.168, allocations: 4 kB / 0.5504 GB, free: 9.062 MB / 414.1 MB Notification: Performance of Templates: time 0.007894/0.1759, allocations: 3.021 MB / 0.5533 GB, free: 6.062 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.529913870617747]