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.001239/0.001239, allocations: 121 kB / 19.13 MB, free: 3.902 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.001409/0.001409, allocations: 210.6 kB / 22.08 MB, free: 0.9531 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.512/1.512, allocations: 227.4 MB / 252.3 MB, free: 52 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.2508/0.2508, allocations: 46.17 MB / 351.8 MB, free: 14.27 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.002477/0.002477, allocations: 80.06 kB / 490.9 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1495, allocations: 62.44 MB / 0.5404 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003738/0.1533, allocations: 1.98 MB / 0.5423 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1555, allocations: 1.192 MB / 0.5435 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1557, allocations: 3.938 kB / 0.5435 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.1564, allocations: 191.4 kB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.1569, allocations: 207.2 kB / 0.5439 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.1573, allocations: 165.7 kB / 0.544 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.1577, allocations: 263.3 kB / 0.5443 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1578, allocations: 24.31 kB / 0.5443 GB, free: 144 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.158, allocations: 115.5 kB / 0.5444 GB, free: 28 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1582, allocations: 111.7 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1582, allocations: 8 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.1584, allocations: 63.78 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.1585, allocations: 51.83 kB / 0.5447 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1586, allocations: 91.41 kB / 0.5447 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.159, allocations: 250.8 kB / 0.545 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.159, allocations: 3.938 kB / 0.545 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.159, allocations: 0 / 0.545 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1591, allocations: 3.938 kB / 0.545 GB, free: 15.45 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.0009642/0.16, allocations: 0.561 MB / 0.5455 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1601, allocations: 20.02 kB / 0.5456 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.1602, allocations: 20.8 kB / 0.5456 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.1606, allocations: 295.8 kB / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1606, allocations: 4.359 kB / 0.5459 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1606, allocations: 8.312 kB / 0.5459 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1609, allocations: 104.3 kB / 0.546 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1609, allocations: 3.984 kB / 0.546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1609, allocations: 8 kB / 0.546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1609, allocations: 4 kB / 0.546 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1611, allocations: 39.91 kB / 0.546 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.1617, allocations: 373.6 kB / 0.5464 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.162, allocations: 125.2 kB / 0.5465 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1621, allocations: 41.69 kB / 0.5465 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1621, allocations: 8.062 kB / 0.5465 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.1624, allocations: 117 kB / 0.5467 GB, free: 13.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1624, allocations: 0 / 0.5467 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005083/0.1629, allocations: 177.5 kB / 0.5468 GB, free: 13.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.163, allocations: 110.8 kB / 0.5469 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.1634, allocations: 359.2 kB / 0.5473 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1635, allocations: 29.7 kB / 0.5473 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1636, allocations: 144.1 kB / 0.5474 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1636, allocations: 23.81 kB / 0.5475 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.1637, allocations: 33.7 kB / 0.5475 GB, free: 12.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1639, allocations: 342.8 kB / 0.5478 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.164, allocations: 31.98 kB / 0.5478 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1641, allocations: 78.61 kB / 0.5479 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1643, allocations: 103.3 kB / 0.548 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1643, allocations: 0 / 0.548 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002889/0.1646, allocations: 146 kB / 0.5482 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1647, allocations: 4 kB / 0.5482 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1647, allocations: 64 / 0.5482 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1647, allocations: 8 kB / 0.5482 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1648, allocations: 23.98 kB / 0.5482 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.1648, allocations: 8 kB / 0.5482 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.1649, allocations: 11.95 kB / 0.5482 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1649, allocations: 4 kB / 0.5482 GB, free: 11.84 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.000166/0.1651, allocations: 162.7 kB / 0.5484 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.1652, allocations: 27.81 kB / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.1652, allocations: 33.77 kB / 0.5484 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1652, allocations: 4 kB / 0.5484 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1653, allocations: 4 kB / 0.5484 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1653, allocations: 0 / 0.5484 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.1655, allocations: 261.4 kB / 0.5487 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1656, allocations: 0 / 0.5487 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.1656, allocations: 4 kB / 0.5487 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1656, allocations: 4 kB / 0.5487 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1656, allocations: 0 / 0.5487 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1656, allocations: 4 kB / 0.5487 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1656, allocations: 3.984 kB / 0.5487 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.166, allocations: 189.6 kB / 0.5489 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.1661, allocations: 100.9 kB / 0.549 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1661, allocations: 7.984 kB / 0.549 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.1662, allocations: 4 kB / 0.549 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1662, allocations: 7.984 kB / 0.549 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1663, allocations: 15.98 kB / 0.549 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.1666, allocations: 257.9 kB / 0.5493 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1666, allocations: 4 kB / 0.5493 GB, free: 10.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1669, allocations: 39.88 kB / 0.5493 GB, free: 10.62 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.001528/0.1684, allocations: 407.8 kB / 0.5497 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1687, allocations: 95.83 kB / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1687, allocations: 0 / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1688, allocations: 52.05 kB / 0.5498 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1692, allocations: 65.95 kB / 0.5499 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.17, allocations: 438 kB / 0.5503 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1704, allocations: 0.7518 MB / 0.551 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.1705, allocations: 31.38 kB / 0.5511 GB, free: 8.898 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1705, allocations: 0 / 0.5511 GB, free: 8.898 MB / 414.1 MB Notification: Performance of Templates: time 0.006112/0.1766, allocations: 3.349 MB / 0.5544 GB, free: 5.562 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.141990176984109]