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.002436/0.002436, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002858/0.002858, allocations: 160.8 kB / 24.27 MB, free: 160 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.598/1.598, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.3623/0.3623, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.576e-05, allocations: 8.844 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003357/0.003383, allocations: 1.809 MB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.006412, allocations: 1.784 MB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.006483, allocations: 0 / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.006786, allocations: 51.62 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.007205, allocations: 139.2 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.007448, allocations: 111.6 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.007754, allocations: 211.2 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.007802, allocations: 13.78 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.007987, allocations: 111.7 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.008185, allocations: 63.8 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.008218, allocations: 8 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.008425, allocations: 111.8 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.0085, allocations: 31.84 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.008584, allocations: 43.84 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.008971, allocations: 235.2 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.008973, allocations: 4 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.008974, allocations: 0 / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.008978, allocations: 3.938 kB / 382 MB, free: 14.08 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.0007926/0.00977, allocations: 0.5224 MB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.009804, allocations: 12.03 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.009876, allocations: 16.84 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.01021, allocations: 192.3 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.01023, allocations: 384 / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.01025, allocations: 12.34 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.01052, allocations: 160.3 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.01053, allocations: 192 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.01055, allocations: 4.375 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.01055, allocations: 3.938 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.01067, allocations: 35.91 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.01128, allocations: 184.3 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.01161, allocations: 110.2 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.01172, allocations: 39.36 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.01175, allocations: 7.938 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.01202, allocations: 120.3 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.01202, allocations: 0 / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004964/0.01251, allocations: 157.5 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.01262, allocations: 144.5 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.013, allocations: 318.7 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.01302, allocations: 25.7 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.01315, allocations: 170.9 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.0132, allocations: 31.83 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.01327, allocations: 35.38 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003077/0.01358, allocations: 0.5117 MB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.01366, allocations: 27.98 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01383, allocations: 133.5 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.01402, allocations: 99.2 kB / 385 MB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01403, allocations: 0 / 385 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002935/0.01432, allocations: 137.5 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01433, allocations: 7.938 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01434, allocations: 4 kB / 385.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01436, allocations: 3.984 kB / 385.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01448, allocations: 27.88 kB / 385.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.01449, allocations: 4 kB / 385.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.01457, allocations: 11.92 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01458, allocations: 8.062 kB / 385.2 MB, free: 10.51 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 0.0001433/0.01472, allocations: 168.6 kB / 385.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.01477, allocations: 23.86 kB / 385.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.01512, allocations: 158.7 kB / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01513, allocations: 0 / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.01513, allocations: 3.938 kB / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01514, allocations: 0 / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.01536, allocations: 180.5 kB / 385.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01536, allocations: 4 kB / 385.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.01541, allocations: 11.94 kB / 385.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01541, allocations: 4 kB / 385.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01542, allocations: 4.25 kB / 385.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01543, allocations: 3.984 kB / 385.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01543, allocations: 4 kB / 385.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.01579, allocations: 207.8 kB / 386 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.01582, allocations: 15.91 kB / 386 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.01586, allocations: 4 kB / 386 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.01593, allocations: 7.984 kB / 386 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.01598, allocations: 11.92 kB / 386 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.016, allocations: 12 kB / 386 MB, free: 9.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.01624, allocations: 221.7 kB / 386.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01624, allocations: 4 kB / 386.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.01653, allocations: 59.86 kB / 386.3 MB, free: 9.348 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.003273/0.0198, allocations: 0.5185 MB / 386.8 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.02006, allocations: 91.58 kB / 386.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02007, allocations: 0 / 386.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.0202, allocations: 51.61 kB / 387 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.02059, allocations: 73.34 kB / 387.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/0.02125, allocations: 302.5 kB / 387.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.02137, allocations: 111.6 kB / 387.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.346e-05/0.02147, allocations: 29.97 kB / 387.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.02154, allocations: 32.48 kB / 387.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02154, allocations: 4 kB / 387.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of Templates: time 0.008413/0.02996, allocations: 3.438 MB / 391 MB, free: 4.863 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.145058502908796]