Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.00229/0.00229, 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.002447/0.002447, allocations: 164.8 kB / 24.27 MB, free: 156 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.587/1.587, allocations: 177 MB / 204.5 MB, free: 5.617 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.4041/0.4041, allocations: 34.26 MB / 295.2 MB, free: 0.625 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.205e-05, allocations: 2.312 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.005184/0.005216, allocations: 1.739 MB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.009667, allocations: 1.702 MB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.009768, allocations: 4 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.01018, allocations: 43.64 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005729/0.01075, allocations: 99.47 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.01111, allocations: 83.59 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.01141, allocations: 119.6 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.01152, allocations: 11.94 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.01171, allocations: 55.83 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.01191, allocations: 39.89 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.01195, allocations: 8 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.01225, allocations: 99.88 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.01234, allocations: 27.91 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.01242, allocations: 23.92 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.01292, allocations: 187.3 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01293, allocations: 0 / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01293, allocations: 0 / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01294, allocations: 0 / 381.5 MB, free: 14.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009879/0.01392, allocations: 475.3 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.01397, allocations: 8.031 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.582e-05/0.01407, allocations: 16.84 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.01448, allocations: 168.1 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.0145, allocations: 4.375 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.01453, allocations: 4.375 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.01483, allocations: 103.3 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.01485, allocations: 192 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01486, allocations: 384 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01487, allocations: 3.938 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.01502, allocations: 31.91 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.0157, allocations: 303.7 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.01603, allocations: 75.16 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.01614, allocations: 27.67 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.01616, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.01641, allocations: 84.92 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.01641, allocations: 0 / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009377/0.01735, allocations: 197.6 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.418e-05/0.01744, allocations: 77.11 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.01783, allocations: 239.2 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.01786, allocations: 25.7 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.01803, allocations: 154.9 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.01808, allocations: 27.75 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.01818, allocations: 43.36 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003957/0.01858, allocations: 0.4962 MB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.01868, allocations: 23.94 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.01886, allocations: 92.61 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.0191, allocations: 63.38 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.0191, allocations: 0 / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003842/0.01948, allocations: 125.5 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.0195, allocations: 4 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01951, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.01953, allocations: 4 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.01967, allocations: 23.98 kB / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.01968, allocations: 4.156 kB / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.01976, allocations: 4 kB / 384.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.01978, allocations: 7.984 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (11): * Single equations (assignments): 11 * 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.0001962/0.01998, allocations: 162.8 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.02005, allocations: 27.83 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.02049, allocations: 134.3 kB / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02049, allocations: 0 / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.0205, allocations: 4 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0205, allocations: 0 / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.0214, allocations: 441 kB / 385.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.02141, allocations: 3.984 kB / 385.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.02149, allocations: 12 kB / 385.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.0215, allocations: 3.938 kB / 385.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.02152, allocations: 11.98 kB / 385.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.02152, allocations: 0 / 385.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02152, allocations: 0 / 385.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.02206, allocations: 279.5 kB / 385.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.02211, allocations: 15.94 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.02214, allocations: 4 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.02228, allocations: 4.031 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.02232, allocations: 15.92 kB / 385.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.02234, allocations: 4 kB / 385.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.02258, allocations: 183.3 kB / 385.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02258, allocations: 3.938 kB / 385.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00056/0.02314, allocations: 47.86 kB / 385.7 MB, free: 10.02 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005467/0.02861, allocations: 0.5763 MB / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.02893, allocations: 75.53 kB / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.02894, allocations: 4 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.02909, allocations: 47.61 kB / 386.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.02966, allocations: 39.86 kB / 386.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.0304, allocations: 233.9 kB / 386.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.03055, allocations: 96.42 kB / 386.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.03066, allocations: 24.62 kB / 386.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.03074, allocations: 16.5 kB / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03074, allocations: 0 / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of Templates: time 0.01026/0.041, allocations: 2.67 MB / 389.5 MB, free: 6.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.05009745399002]