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.001838/0.001838, 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.002968/0.002968, 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.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2286/0.2286, allocations: 44.93 MB / 358.8 MB, free: 6.164 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.002139/0.002139, allocations: 67.89 kB / 0.4936 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3206, allocations: 65.48 MB / 0.5575 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003357/0.3239, allocations: 1.667 MB / 0.5591 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3257, allocations: 0.952 MB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.3258, allocations: 4 kB / 0.5601 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3261, allocations: 51.75 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.3264, allocations: 103.5 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.3266, allocations: 71.73 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3268, allocations: 107.6 kB / 0.5604 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.3269, allocations: 4.234 kB / 0.5604 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.327, allocations: 39.8 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.327, allocations: 31.83 kB / 0.5605 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3271, allocations: 4 kB / 0.5605 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.3271, allocations: 35.98 kB / 0.5605 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.3272, allocations: 31.86 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.3273, allocations: 23.75 kB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3275, allocations: 129.8 kB / 0.5607 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3275, allocations: 3.984 kB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3275, allocations: 0 / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.3275, allocations: 3.938 kB / 0.5607 GB, free: 4.078 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.0006181/0.3281, allocations: 361.4 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3282, allocations: 8.031 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.3282, allocations: 12.89 kB / 0.5611 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3285, allocations: 163.2 kB / 0.5612 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3285, allocations: 8.375 kB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3285, allocations: 4.125 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3287, allocations: 53.61 kB / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3287, allocations: 0 / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3287, allocations: 0 / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3287, allocations: 0 / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.3288, allocations: 15.98 kB / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.329, allocations: 137.3 kB / 0.5614 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3292, allocations: 62.59 kB / 0.5615 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.3293, allocations: 16.86 kB / 0.5615 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3293, allocations: 7.938 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.3294, allocations: 71.33 kB / 0.5616 GB, free: 3.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.3294, allocations: 0 / 0.5616 GB, free: 3.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003196/0.3298, allocations: 105.6 kB / 0.5617 GB, free: 2.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3298, allocations: 51.41 kB / 0.5617 GB, free: 2.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.3301, allocations: 275.8 kB / 0.562 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.3302, allocations: 25.7 kB / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.3303, allocations: 128 kB / 0.5621 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3303, allocations: 15.89 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.3304, allocations: 25.66 kB / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3305, allocations: 322.8 kB / 0.5625 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.3306, allocations: 19.92 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.3307, allocations: 33.7 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3308, allocations: 41.7 kB / 0.5626 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3308, allocations: 4 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000211/0.331, allocations: 93.47 kB / 0.5627 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.331, allocations: 4 kB / 0.5627 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.331, allocations: 0 / 0.5627 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.331, allocations: 0 / 0.5627 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.3311, allocations: 15.98 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3311, allocations: 0 / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.3312, allocations: 11.89 kB / 0.5627 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3312, allocations: 4 kB / 0.5627 GB, free: 1.832 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.0001191/0.3313, allocations: 133.8 kB / 0.5628 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3313, allocations: 19.84 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3315, allocations: 102.8 kB / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3315, allocations: 0 / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3315, allocations: 384 / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3315, allocations: 4 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.3317, allocations: 145.3 kB / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3317, allocations: 0 / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.3317, allocations: 4 kB / 0.5631 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3317, allocations: 7.938 kB / 0.5631 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3318, allocations: 3.984 kB / 0.5631 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3318, allocations: 3.938 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3318, allocations: 4 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.332, allocations: 117 kB / 0.5632 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.332, allocations: 15.84 kB / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.332, allocations: 0 / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.3321, allocations: 8 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3321, allocations: 3.984 kB / 0.5632 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3321, allocations: 4 kB / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3323, allocations: 204.6 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3323, allocations: 0 / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.3325, allocations: 20 kB / 0.5635 GB, free: 0.9766 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.001665/0.3342, allocations: 449.2 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.3344, allocations: 43.92 kB / 0.5639 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3344, allocations: 0 / 0.5639 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.3344, allocations: 19.98 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3347, allocations: 37.81 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.3353, allocations: 274.4 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3355, allocations: 112.2 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.3356, allocations: 8.5 kB / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.3356, allocations: 19.42 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3356, allocations: 0 / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of Templates: time 0.005521/0.3411, allocations: 1.724 MB / 0.5661 GB, free: 14.47 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/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: 5.231691362336278]