Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 169.8 kB / 24.82 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.085/1.085, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3148/0.3148, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.116e-05, allocations: 2.312 kB / 378.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002985/0.003016, allocations: 1.756 MB / 380.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.005133, allocations: 1.73 MB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.005251, allocations: 0 / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.005584, allocations: 35.77 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.005994, allocations: 103.5 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.006268, allocations: 83.53 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.006472, allocations: 115.7 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.006577, allocations: 8 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.006694, allocations: 67.75 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.006838, allocations: 35.89 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.006859, allocations: 4 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.007071, allocations: 107.8 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.007128, allocations: 23.86 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.007172, allocations: 27.91 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.007447, allocations: 167.5 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007451, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007452, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.007456, allocations: 0 / 382.8 MB, free: 14.01 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.0004996/0.007956, allocations: 467.7 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.007994, allocations: 8.031 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.008039, allocations: 12.89 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.008224, allocations: 167.2 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.008241, allocations: 384 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.008261, allocations: 4.375 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.00844, allocations: 112 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.008453, allocations: 7.938 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.008462, allocations: 0 / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.008469, allocations: 0 / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.008509, allocations: 15.98 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.008853, allocations: 268.3 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.008973, allocations: 63.14 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.008999, allocations: 15.67 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.009018, allocations: 8 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.009127, allocations: 76.89 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.009128, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004143/0.009543, allocations: 149.4 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.009586, allocations: 85.11 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.009733, allocations: 227.1 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.009753, allocations: 33.64 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.009818, allocations: 142.9 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.009852, allocations: 35.72 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.009898, allocations: 27.38 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.01005, allocations: 0.4962 MB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.01007, allocations: 11.98 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.138e-05/0.01013, allocations: 68.75 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.01018, allocations: 55.28 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.01018, allocations: 4.031 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001239/0.01031, allocations: 93.52 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01032, allocations: 6.031 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01033, allocations: 0 / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.01035, allocations: 4 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.01042, allocations: 19.92 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01042, allocations: 0 / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.01046, allocations: 4 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.01047, allocations: 4 kB / 385.5 MB, free: 11.12 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.000107/0.01057, allocations: 168.6 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.0106, allocations: 19.84 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.01079, allocations: 110.4 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01079, allocations: 3.938 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01079, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0108, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.01113, allocations: 381.6 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01113, allocations: 4 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.01117, allocations: 12 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01117, allocations: 4 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.01118, allocations: 8.016 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01118, allocations: 0 / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01118, allocations: 4 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.01135, allocations: 267.7 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.01137, allocations: 7.953 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01139, allocations: 4 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.01144, allocations: 7.984 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.01147, allocations: 7.984 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01148, allocations: 4 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.118e-05/0.01156, allocations: 159.1 kB / 386.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01156, allocations: 4 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01177, allocations: 47.86 kB / 386.7 MB, free: 9.84 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.001166/0.01294, allocations: 0.5538 MB / 387.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.01308, allocations: 59.53 kB / 387.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01309, allocations: 0 / 387.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.01313, allocations: 31.67 kB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01338, allocations: 54.31 kB / 387.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.01376, allocations: 218.1 kB / 387.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.01381, allocations: 67.34 kB / 387.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.01386, allocations: 20.62 kB / 387.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.01396, allocations: 98.17 kB / 387.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01396, allocations: 0 / 387.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of Templates: time 0.004994/0.01895, allocations: 2.93 MB / 390.7 MB, free: 5.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.3701945580542088]