Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001352/0.001352, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001487/0.001487, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 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.2276/0.2276, allocations: 44.91 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 68.17 kB / 0.4944 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3113, allocations: 65.46 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003204/0.3145, allocations: 1.702 MB / 0.56 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3162, allocations: 1.04 MB / 0.561 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.3163, allocations: 0 / 0.561 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.3166, allocations: 39.77 kB / 0.561 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.3169, allocations: 103.6 kB / 0.5611 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3171, allocations: 83.66 kB / 0.5612 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3173, allocations: 95.7 kB / 0.5613 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.3173, allocations: 8.156 kB / 0.5613 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3174, allocations: 47.78 kB / 0.5613 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.3175, allocations: 31.8 kB / 0.5614 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3175, allocations: 7.938 kB / 0.5614 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.3176, allocations: 31.98 kB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.3177, allocations: 27.91 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.3177, allocations: 43.67 kB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3179, allocations: 129.8 kB / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3179, allocations: 0 / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3179, allocations: 0 / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3179, allocations: 4 kB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005665/0.3185, allocations: 365.4 kB / 0.562 GB, free: 3.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3185, allocations: 8.031 kB / 0.562 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3186, allocations: 12.83 kB / 0.562 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3189, allocations: 171.2 kB / 0.5621 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3189, allocations: 384 / 0.5621 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3189, allocations: 12.12 kB / 0.5621 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.319, allocations: 45.67 kB / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.319, allocations: 0 / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3191, allocations: 0 / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3191, allocations: 4 kB / 0.5622 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.3191, allocations: 15.94 kB / 0.5622 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.3193, allocations: 160.8 kB / 0.5624 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3195, allocations: 54.61 kB / 0.5624 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.3196, allocations: 20.8 kB / 0.5624 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3196, allocations: 3.984 kB / 0.5624 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3198, allocations: 67.33 kB / 0.5625 GB, free: 3.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3198, allocations: 0 / 0.5625 GB, free: 3.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002903/0.32, allocations: 101.6 kB / 0.5626 GB, free: 3.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3201, allocations: 59.41 kB / 0.5627 GB, free: 3.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.3205, allocations: 271.8 kB / 0.5629 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3205, allocations: 25.7 kB / 0.5629 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3206, allocations: 112.1 kB / 0.563 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.3206, allocations: 11.91 kB / 0.5631 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.3207, allocations: 25.7 kB / 0.5631 GB, free: 2.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3209, allocations: 326.8 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.3209, allocations: 16 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.321, allocations: 25.7 kB / 0.5634 GB, free: 2.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3211, allocations: 49.64 kB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3211, allocations: 0 / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001626/0.3213, allocations: 89.47 kB / 0.5636 GB, free: 2.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3213, allocations: 4 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3213, allocations: 3.938 kB / 0.5636 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3213, allocations: 4.031 kB / 0.5636 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.3214, allocations: 12.3 kB / 0.5636 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3214, allocations: 4 kB / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.3215, allocations: 11.89 kB / 0.5636 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3215, allocations: 11.94 kB / 0.5636 GB, free: 2.043 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0001239/0.3216, allocations: 133.8 kB / 0.5637 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.3216, allocations: 11.91 kB / 0.5638 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.3218, allocations: 102.7 kB / 0.5639 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3218, allocations: 4 kB / 0.5639 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3218, allocations: 0 / 0.5639 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3218, allocations: 0 / 0.5639 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.322, allocations: 172.6 kB / 0.564 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.322, allocations: 0 / 0.564 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.322, allocations: 4 kB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.322, allocations: 0 / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.322, allocations: 4 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.322, allocations: 0 / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.322, allocations: 3.984 kB / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.3222, allocations: 116.9 kB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.3223, allocations: 15.89 kB / 0.5642 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3223, allocations: 4 kB / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.3223, allocations: 4 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.3224, allocations: 0 / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3224, allocations: 7.984 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.3226, allocations: 196.6 kB / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3226, allocations: 0 / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3228, allocations: 27.94 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001503/0.3243, allocations: 406.9 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.3245, allocations: 47.91 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3245, allocations: 0 / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.3245, allocations: 16 kB / 0.5648 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.3248, allocations: 34.12 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.3253, allocations: 300.3 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3257, allocations: 0.7157 MB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3257, allocations: 15.44 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3257, allocations: 0 / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Templates: time 0.004054/0.3298, allocations: 1.897 MB / 0.5677 GB, free: 13.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 7.698610861087218]