Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0009328/0.0009328, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002111, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007637/0.0007637, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009417/0.001705, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.082/1.082, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09591/1.178, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2807/0.2807, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02968/0.3104, allocations: 12.52 MB / 289.3 MB, free: 8.68 MB / 282.7 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.887e-06/3.887e-06, allocations: 1.25 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.554e-05, allocations: 4.312 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003306/0.003341, allocations: 1.805 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.005272, allocations: 1.023 MB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.005445, allocations: 1 kB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.005753, allocations: 53.58 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.006096, allocations: 92.55 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.006322, allocations: 83.59 kB / 293.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.006533, allocations: 111.6 kB / 293.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.006664, allocations: 8.75 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.006834, allocations: 79.75 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.006937, allocations: 27.91 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.006956, allocations: 4 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.007069, allocations: 43.92 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.007139, allocations: 23.92 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.007187, allocations: 19.88 kB / 294.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.007414, allocations: 107.5 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.145e-05/0.007435, allocations: 4 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.007438, allocations: 0 / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.007459, allocations: 0 / 294.2 MB, free: 4.727 MB / 282.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.0006237/0.008083, allocations: 352.4 kB / 294.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.008127, allocations: 8.031 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.00817, allocations: 12.92 kB / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.00839, allocations: 146.4 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.008411, allocations: 4.375 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.008435, allocations: 4.375 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.008592, allocations: 65.7 kB / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.00861, allocations: 11.92 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.008619, allocations: 0 / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.008626, allocations: 0 / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.726e-05/0.008663, allocations: 8 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.008946, allocations: 173.8 kB / 294.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.009064, allocations: 85.36 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.009087, allocations: 8.859 kB / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.009103, allocations: 0 / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.009243, allocations: 78.08 kB / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.009244, allocations: 0 / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003984/0.009643, allocations: 109.8 kB / 295.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.009686, allocations: 59.39 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.009836, allocations: 189.6 kB / 295.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.009855, allocations: 29.69 kB / 295.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.0099, allocations: 104.1 kB / 295.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.009931, allocations: 23.78 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.009969, allocations: 21.7 kB / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01007, allocations: 326.8 kB / 296 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.01009, allocations: 14.83 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.01012, allocations: 21.7 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.01017, allocations: 48.44 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01017, allocations: 0 / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.91e-05/0.01026, allocations: 76.38 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01028, allocations: 4 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.01029, allocations: 4 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.0103, allocations: 0 / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.01039, allocations: 19.98 kB / 296.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.01039, allocations: 7.969 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.01043, allocations: 0 / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.01043, allocations: 4 kB / 296.2 MB, free: 2.562 MB / 282.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.0001048/0.01054, allocations: 116.7 kB / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.01056, allocations: 11.92 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.01073, allocations: 83.06 kB / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01073, allocations: 0 / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01073, allocations: 0 / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01074, allocations: 0 / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.01106, allocations: 299.6 kB / 296.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01106, allocations: 4.031 kB / 296.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.01111, allocations: 15.98 kB / 296.7 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.01113, allocations: 15.84 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.01113, allocations: 3.984 kB / 296.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01115, allocations: 4 kB / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01115, allocations: 0 / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01115, allocations: 0 / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.01131, allocations: 223 kB / 296.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.01133, allocations: 4 kB / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.01138, allocations: 0 / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.01143, allocations: 15.98 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.01145, allocations: 4 kB / 296.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.21e-05/0.01152, allocations: 65.41 kB / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.01152, allocations: 0 / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.01169, allocations: 27.92 kB / 297 MB, free: 1.621 MB / 282.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.002024/0.01372, allocations: 0.6295 MB / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.01387, allocations: 44.72 kB / 297.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.01388, allocations: 7.984 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.01392, allocations: 24.78 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.01416, allocations: 44.92 kB / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.01484, allocations: 250.7 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.179e-05/0.01491, allocations: 67.33 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.01495, allocations: 21.27 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.01503, allocations: 67.38 kB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of SimCode: time 1.713e-06/0.01503, allocations: 0 / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of Templates: time 0.004913/0.01995, allocations: 2.047 MB / 300.2 MB, free: 14.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.1144156558439136]