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.001058/0.001058, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001916/0.001916, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] 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.2879/0.2879, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 266.7 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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 4 kB / 378.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.832e-05, allocations: 6.25 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002737/0.002766, allocations: 1.988 MB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.004448, allocations: 1.176 MB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.004583, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007223/0.005305, allocations: 203.2 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.005786, allocations: 211.1 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.006229, allocations: 163.4 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.006595, allocations: 279.1 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.006727, allocations: 20.58 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.006931, allocations: 143.6 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.007084, allocations: 99.75 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.007109, allocations: 8 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.007261, allocations: 67.89 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.007347, allocations: 59.77 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.007418, allocations: 47.78 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.007742, allocations: 183.3 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.007747, allocations: 0 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007749, allocations: 4 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.007756, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 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.0007379/0.008494, allocations: 0.5827 MB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.008539, allocations: 8.031 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.008625, allocations: 36.69 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.008955, allocations: 241.3 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.008978, allocations: 4.375 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.008997, allocations: 12.36 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.009179, allocations: 85.59 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.009192, allocations: 12.16 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.009203, allocations: 4.375 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.009212, allocations: 3.938 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.009273, allocations: 23.92 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/0.01017, allocations: 355.4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.01036, allocations: 110.2 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.01042, allocations: 35.36 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01044, allocations: 4 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.01061, allocations: 124.3 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.01062, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002981/0.01091, allocations: 149.4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.01096, allocations: 81.11 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.01121, allocations: 346.3 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01123, allocations: 33.7 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.01133, allocations: 190.8 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.01136, allocations: 27.78 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.01141, allocations: 39.38 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01156, allocations: 0.5118 MB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.01161, allocations: 15.98 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.01169, allocations: 92.83 kB / 386.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.297e-05/0.01178, allocations: 78.67 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01178, allocations: 0 / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001602/0.01194, allocations: 133.9 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01196, allocations: 4.094 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.01196, allocations: 4 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01198, allocations: 4 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.01209, allocations: 24.05 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.0121, allocations: 4 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.01215, allocations: 15.89 kB / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01216, allocations: 7.984 kB / 386.8 MB, free: 9.645 MB / 362.7 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.0001049/0.01227, allocations: 168.5 kB / 387 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.0123, allocations: 27.8 kB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.01254, allocations: 143.5 kB / 387.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01254, allocations: 7.984 kB / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01255, allocations: 0 / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01255, allocations: 4 kB / 387.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01272, allocations: 196.5 kB / 387.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01272, allocations: 0 / 387.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.01276, allocations: 12 kB / 387.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01277, allocations: 3.938 kB / 387.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01278, allocations: 11.98 kB / 387.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.01278, allocations: 0 / 387.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01278, allocations: 0 / 387.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.01298, allocations: 187.9 kB / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.01301, allocations: 31.75 kB / 387.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.01304, allocations: 3.938 kB / 387.6 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.01308, allocations: 11.98 kB / 387.6 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.01314, allocations: 11.97 kB / 387.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01316, allocations: 15.94 kB / 387.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.01332, allocations: 239 kB / 387.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01332, allocations: 0 / 387.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01354, allocations: 36 kB / 387.9 MB, free: 8.477 MB / 362.7 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.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001195/0.01473, allocations: 402.2 kB / 388.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01495, allocations: 71.59 kB / 388.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01495, allocations: 0 / 388.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.01501, allocations: 43.8 kB / 388.4 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.01533, allocations: 70.92 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.01599, allocations: 366.4 kB / 388.9 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.01606, allocations: 87.97 kB / 388.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.01613, allocations: 29.92 kB / 389 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.01619, allocations: 28.5 kB / 389 MB, free: 7.457 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01619, allocations: 0 / 389 MB, free: 7.457 MB / 362.7 MB Notification: Performance of Templates: time 0.006618/0.02281, allocations: 3.231 MB / 392.2 MB, free: 4.273 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.402916113846004]