Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.0009668/0.0009668, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009304/0.0009304, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 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 0.9328/0.9328, allocations: 177 MB / 205.2 MB, free: 5.602 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.2571/0.2571, allocations: 34.87 MB / 296.6 MB, free: 476 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.787e-05, allocations: 6.25 kB / 378.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002971/0.002999, allocations: 1.834 MB / 380.7 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.005291, allocations: 1.8 MB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.005389, allocations: 3.938 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.005715, allocations: 51.62 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.006165, allocations: 151.2 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.006392, allocations: 103.6 kB / 382.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.00665, allocations: 211.2 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.006703, allocations: 13.8 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.006859, allocations: 107.7 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.007017, allocations: 63.78 kB / 383.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.007044, allocations: 15.94 kB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.007218, allocations: 103.9 kB / 383.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.007288, allocations: 39.84 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.007348, allocations: 35.84 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.007659, allocations: 203.2 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007662, allocations: 0 / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007663, allocations: 0 / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.007669, allocations: 4 kB / 383.5 MB, free: 13.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006691/0.008338, allocations: 0.5187 MB / 384.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.008384, allocations: 12.03 kB / 384.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.00846, allocations: 20.8 kB / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.008749, allocations: 188.2 kB / 384.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.00878, allocations: 8.375 kB / 384.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.008797, allocations: 4.375 kB / 384.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.00903, allocations: 169 kB / 384.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.009039, allocations: 192 / 384.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.009052, allocations: 4.375 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.009061, allocations: 3.938 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.954e-05/0.009121, allocations: 23.97 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.009327, allocations: 164.4 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.009501, allocations: 94.16 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.009588, allocations: 35.36 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.009604, allocations: 4 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.009743, allocations: 112.3 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.009744, allocations: 0 / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002574/0.01, allocations: 145.4 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.01005, allocations: 136.5 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01024, allocations: 278.7 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.01026, allocations: 25.7 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.01031, allocations: 170.8 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.01035, allocations: 31.78 kB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.01038, allocations: 39.3 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.01049, allocations: 0.4962 MB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.01052, allocations: 19.98 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.01059, allocations: 129.5 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.245e-05/0.01067, allocations: 78.73 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01068, allocations: 0 / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001293/0.01081, allocations: 126 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01082, allocations: 10.66 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01083, allocations: 0 / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01084, allocations: 8.094 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.118e-05/0.01092, allocations: 23.92 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.01093, allocations: 3.938 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.01097, allocations: 4 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.01098, allocations: 12 kB / 386.6 MB, free: 10.15 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 7.799e-05/0.01106, allocations: 164.6 kB / 386.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.01108, allocations: 23.86 kB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.01126, allocations: 138.7 kB / 386.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.01126, allocations: 4 kB / 386.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01127, allocations: 7.938 kB / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01127, allocations: 0 / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.01138, allocations: 172.5 kB / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01138, allocations: 0 / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.01141, allocations: 8 kB / 387.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01141, allocations: 0 / 387.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.01142, allocations: 4 kB / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01142, allocations: 3.984 kB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01142, allocations: 3.938 kB / 387.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.01157, allocations: 183.8 kB / 387.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.0116, allocations: 15.89 kB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01162, allocations: 12 kB / 387.3 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.01166, allocations: 7.984 kB / 387.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.01169, allocations: 11.92 kB / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.01171, allocations: 12.12 kB / 387.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.01181, allocations: 197.8 kB / 387.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01181, allocations: 0 / 387.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.012, allocations: 59.86 kB / 387.6 MB, free: 9.066 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009444/0.01294, allocations: 0.4898 MB / 388.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01308, allocations: 67.59 kB / 388.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01308, allocations: 0 / 388.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.01313, allocations: 43.61 kB / 388.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01335, allocations: 66.3 kB / 388.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.01374, allocations: 282.4 kB / 388.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.01378, allocations: 75.98 kB / 388.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.01384, allocations: 37.44 kB / 388.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.01388, allocations: 32.48 kB / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01388, allocations: 0 / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of Templates: time 0.004768/0.01865, allocations: 3.439 MB / 392.1 MB, free: 4.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.1280593720730394]