Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.002037/0.002037, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002528/0.002528, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2334/0.2334, allocations: 44.94 MB / 358.8 MB, free: 6.141 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [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.001954/0.001954, allocations: 71.91 kB / 0.4936 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.318, allocations: 65.48 MB / 0.5575 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003102/0.3211, allocations: 1.663 MB / 0.5591 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3228, allocations: 0.9559 MB / 0.5601 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.3228, allocations: 8 kB / 0.5601 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3231, allocations: 43.77 kB / 0.5601 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.3234, allocations: 99.53 kB / 0.5602 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.3236, allocations: 83.66 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3237, allocations: 99.7 kB / 0.5604 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.3238, allocations: 4.234 kB / 0.5604 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.3239, allocations: 43.78 kB / 0.5604 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.324, allocations: 31.78 kB / 0.5605 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.324, allocations: 4 kB / 0.5605 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.3241, allocations: 35.98 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.3241, allocations: 23.92 kB / 0.5605 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.3242, allocations: 35.67 kB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.3244, allocations: 129.8 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3244, allocations: 0 / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3244, allocations: 4 kB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3244, allocations: 0 / 0.5607 GB, free: 4.176 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.0005572/0.325, allocations: 361.4 kB / 0.561 GB, free: 3.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.325, allocations: 8.031 kB / 0.561 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.325, allocations: 12.89 kB / 0.5611 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3253, allocations: 163.2 kB / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3253, allocations: 4.375 kB / 0.5612 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.3253, allocations: 4.125 kB / 0.5612 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3255, allocations: 53.61 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3255, allocations: 0 / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3255, allocations: 4 kB / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3255, allocations: 3.938 kB / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.3256, allocations: 15.98 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3258, allocations: 141.3 kB / 0.5614 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3259, allocations: 54.59 kB / 0.5615 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.326, allocations: 16.86 kB / 0.5615 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.326, allocations: 11.88 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3262, allocations: 67.33 kB / 0.5616 GB, free: 3.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3262, allocations: 4 kB / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002917/0.3264, allocations: 105.6 kB / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3265, allocations: 51.41 kB / 0.5617 GB, free: 2.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3268, allocations: 279.8 kB / 0.562 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3268, allocations: 33.62 kB / 0.562 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.3269, allocations: 112.1 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3269, allocations: 11.91 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.327, allocations: 21.72 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3271, allocations: 326.8 kB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.3272, allocations: 15.98 kB / 0.5625 GB, free: 2.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.3272, allocations: 33.7 kB / 0.5625 GB, free: 2.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3273, allocations: 45.7 kB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3273, allocations: 0 / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001763/0.3275, allocations: 97.72 kB / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3275, allocations: 4 kB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3275, allocations: 0 / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3275, allocations: 4 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.3276, allocations: 11.98 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3276, allocations: 4.188 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.3277, allocations: 11.89 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3277, allocations: 3.984 kB / 0.5627 GB, free: 1.93 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.0001226/0.3278, allocations: 137.8 kB / 0.5628 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.3278, allocations: 19.84 kB / 0.5628 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3281, allocations: 98.75 kB / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3281, allocations: 0 / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3281, allocations: 4 kB / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3281, allocations: 0 / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.3282, allocations: 141.3 kB / 0.5631 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3282, allocations: 4 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.3282, allocations: 7.938 kB / 0.5631 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3282, allocations: 7.938 kB / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3283, allocations: 3.984 kB / 0.5631 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3283, allocations: 3.938 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3283, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3285, allocations: 117 kB / 0.5632 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.3285, allocations: 19.84 kB / 0.5632 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3285, allocations: 0 / 0.5632 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.3285, allocations: 4 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.3286, allocations: 7.984 kB / 0.5632 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3286, allocations: 4.188 kB / 0.5633 GB, free: 1.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.3288, allocations: 212.5 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3288, allocations: 0 / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.329, allocations: 16 kB / 0.5635 GB, free: 1.066 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 (6): * Single equations (assignments): 4 * 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.001599/0.3306, allocations: 435.7 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.3308, allocations: 39.92 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3308, allocations: 0 / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.3308, allocations: 20.05 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3311, allocations: 49.7 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.3316, allocations: 278.4 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.3317, allocations: 101.8 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.532e-05/0.3317, allocations: 12.75 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.3318, allocations: 23.42 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3318, allocations: 0 / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of Templates: time 0.004986/0.3368, allocations: 1.718 MB / 0.5661 GB, free: 14.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.297961514443159]