Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001532/0.001532, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001577/0.001577, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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.529/1.529, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3447/0.3447, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.652e-05/3.851e-05, allocations: 6.25 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003718/0.003757, allocations: 1.715 MB / 377.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.00601, allocations: 0.9774 MB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.006086, allocations: 0 / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.006426, allocations: 55.69 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.006783, allocations: 107.5 kB / 378.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.007015, allocations: 79.59 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.007228, allocations: 103.7 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.007331, allocations: 7.984 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.007483, allocations: 59.77 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.007575, allocations: 23.92 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.007598, allocations: 4 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.007715, allocations: 47.91 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.007798, allocations: 35.86 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.007857, allocations: 19.92 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.008139, allocations: 139.5 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.008142, allocations: 4 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008144, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.008149, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006798/0.008829, allocations: 369.3 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.008872, allocations: 8.031 kB / 379.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.008942, allocations: 16.84 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.009294, allocations: 166.5 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.009312, allocations: 8.375 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.009338, allocations: 384 / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.009516, allocations: 62.17 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.009532, allocations: 3.938 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.009543, allocations: 3.938 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.009547, allocations: 0 / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.009636, allocations: 23.97 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.01006, allocations: 244.5 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.01027, allocations: 54.62 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.01034, allocations: 28.78 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.01035, allocations: 0 / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.01052, allocations: 67.39 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.01052, allocations: 0 / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006295/0.01115, allocations: 197.2 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.01121, allocations: 51.41 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.01156, allocations: 276.1 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.01159, allocations: 29.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01169, allocations: 116 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01173, allocations: 35.77 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.01178, allocations: 21.72 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.01198, allocations: 330.8 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.01204, allocations: 20 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.01213, allocations: 41.64 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.01228, allocations: 61.64 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01228, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002304/0.01251, allocations: 113.5 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01252, allocations: 8.031 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01253, allocations: 0 / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01255, allocations: 0 / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01265, allocations: 23.98 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01266, allocations: 384 / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.01271, allocations: 0 / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.01271, allocations: 4 kB / 381 MB, free: 14.98 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 (10): * Single equations (assignments): 10 * 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.0001463/0.01286, allocations: 141.7 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.0129, allocations: 19.91 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.0132, allocations: 127.2 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.01321, allocations: 11.98 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01321, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01321, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.01375, allocations: 366.9 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01375, allocations: 3.938 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.01379, allocations: 8 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01379, allocations: 0 / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01381, allocations: 7.984 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01381, allocations: 0 / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01381, allocations: 0 / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.01413, allocations: 224.2 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.01416, allocations: 11.91 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.01419, allocations: 8 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.01427, allocations: 3.984 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.01431, allocations: 7.984 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.01433, allocations: 4 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.01455, allocations: 208.5 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01455, allocations: 0 / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.01482, allocations: 31.92 kB / 382.2 MB, free: 13.75 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 (9): * Single equations (assignments): 7 * 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.002227/0.01705, allocations: 0.4884 MB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.01724, allocations: 55.97 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01725, allocations: 0 / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.188e-05/0.01734, allocations: 39.98 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.01771, allocations: 23.77 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.01836, allocations: 305.9 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.0185, allocations: 117 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.01856, allocations: 25.25 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.0186, allocations: 20.56 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0186, allocations: 0 / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Templates: time 0.005486/0.02409, allocations: 1.884 MB / 385.1 MB, free: 10.99 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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: 4.816994589054957]