Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.0009693/0.0009693, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002347, 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.0008902/0.0008902, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002117, 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 0.9768/0.9768, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09929/1.076, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02059/0.2711, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.808e-06, allocations: 6.312 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001769/0.001779, allocations: 1.891 MB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.003332, allocations: 1.825 MB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.003395, allocations: 11.94 kB / 296.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.003552, allocations: 51.58 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.00378, allocations: 143.2 kB / 296.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.003912, allocations: 107.6 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.004093, allocations: 203.3 kB / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.004131, allocations: 10.41 kB / 296.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.004295, allocations: 160.2 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.004411, allocations: 63.8 kB / 297.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.004428, allocations: 8 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.004579, allocations: 119.8 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.004619, allocations: 27.88 kB / 297.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.004657, allocations: 31.88 kB / 297.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.004855, allocations: 187.3 kB / 297.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.004869, allocations: 0 / 297.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00487, allocations: 0 / 297.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.004883, allocations: 0 / 297.5 MB, free: 1.379 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004611/0.005344, allocations: 432.4 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.00537, allocations: 12.56 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.005403, allocations: 12.92 kB / 298 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.005571, allocations: 177.4 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005585, allocations: 8.375 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.005595, allocations: 4.375 kB / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.005727, allocations: 156.6 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.005734, allocations: 7.875 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.005741, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.005746, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.005778, allocations: 21.64 kB / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.304e-05/0.005861, allocations: 86.38 kB / 298.4 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.005962, allocations: 82.8 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.00599, allocations: 25.7 kB / 298.5 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.006, allocations: 4 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.006103, allocations: 99.78 kB / 298.6 MB, free: 124 kB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.041e-06/0.006104, allocations: 0 / 298.6 MB, free: 124 kB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001281/0.006232, allocations: 99.25 kB / 298.7 MB, free: 16 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.006275, allocations: 85.03 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.006403, allocations: 222.5 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.006418, allocations: 33.7 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.006445, allocations: 96.61 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.006476, allocations: 31.77 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.00651, allocations: 29.7 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.006581, allocations: 334.8 kB / 299.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.006597, allocations: 10.83 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.006642, allocations: 102.3 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.006696, allocations: 71.81 kB / 299.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006698, allocations: 4.031 kB / 299.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.008e-05/0.006778, allocations: 95.19 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.006788, allocations: 8 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.006792, allocations: 0 / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.006799, allocations: 0 / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.006866, allocations: 28.55 kB / 299.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.00687, allocations: 4 kB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.006913, allocations: 15.88 kB / 299.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006919, allocations: 8 kB / 299.9 MB, free: 14.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 5.968e-05/0.006978, allocations: 129.2 kB / 300 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.006996, allocations: 19.98 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/0.007095, allocations: 94.72 kB / 300.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.007096, allocations: 0 / 300.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.007099, allocations: 7.938 kB / 300.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007102, allocations: 0 / 300.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.794e-05/0.00718, allocations: 101.8 kB / 300.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.00718, allocations: 4 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.007203, allocations: 11.98 kB / 300.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.007222, allocations: 19.86 kB / 300.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.007223, allocations: 4 kB / 300.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.007228, allocations: 0 / 300.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.007231, allocations: 7.984 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.007232, allocations: 3.938 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.007312, allocations: 123 kB / 300.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.00733, allocations: 4 kB / 300.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.00736, allocations: 7.984 kB / 300.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.007385, allocations: 7.984 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.007396, allocations: 11.94 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.007452, allocations: 78.61 kB / 300.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007452, allocations: 4 kB / 300.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.007592, allocations: 55.86 kB / 300.6 MB, free: 14 MB / 298.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001246/0.008838, allocations: 0.6983 MB / 301.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.008929, allocations: 60.64 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.008935, allocations: 0 / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.008968, allocations: 36.77 kB / 301.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.00913, allocations: 76.73 kB / 301.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.009548, allocations: 280 kB / 301.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.009584, allocations: 75.92 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.245e-05/0.009636, allocations: 29.97 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.009738, allocations: 103.3 kB / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009738, allocations: 0 / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Templates: time 0.004554/0.01429, allocations: 3.81 MB / 305.7 MB, free: 9.223 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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: 2.8333272309973836]