Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0007223/0.0007223, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009939/0.001716, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006663/0.0006663, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008498/0.001516, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9904/0.9904, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2706/0.2706, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03236/0.303, allocations: 13.11 MB / 291.5 MB, free: 7.324 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.016e-05, allocations: 4.312 kB / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002022/0.002042, allocations: 1.768 MB / 294.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003141, allocations: 1.004 MB / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.003199, allocations: 0 / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.003364, allocations: 51.69 kB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.003574, allocations: 107.4 kB / 295.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.003725, allocations: 83.55 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.003856, allocations: 103.6 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.003893, allocations: 12.16 kB / 296.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004009, allocations: 71.88 kB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.004082, allocations: 35.89 kB / 296.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.004095, allocations: 7.938 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.004164, allocations: 43.86 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.004202, allocations: 15.92 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.004226, allocations: 11.94 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004375, allocations: 79.69 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.004385, allocations: 4 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004386, allocations: 0 / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.004394, allocations: 0 / 296.3 MB, free: 2.703 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003627/0.004757, allocations: 325.2 kB / 296.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.576e-05/0.004783, allocations: 12.03 kB / 296.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.004809, allocations: 4.938 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.004938, allocations: 142.2 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.004953, allocations: 4.375 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.004964, allocations: 4.359 kB / 296.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.97e-05/0.005053, allocations: 57.78 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005061, allocations: 7.938 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.005067, allocations: 3.984 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.005072, allocations: 0 / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.00509, allocations: 4 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.836e-05/0.005169, allocations: 74.62 kB / 296.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.005242, allocations: 41.38 kB / 297 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.005258, allocations: 12.84 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.005269, allocations: 4 kB / 297 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.051e-05/0.005359, allocations: 58.22 kB / 297.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.00536, allocations: 4 kB / 297.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001093/0.005469, allocations: 61.61 kB / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.005493, allocations: 55.34 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.005584, allocations: 169.7 kB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.005597, allocations: 25.7 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.005621, allocations: 88.12 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.005649, allocations: 19.89 kB / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.005674, allocations: 17.7 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.005746, allocations: 322.8 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.005761, allocations: 6.828 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.005781, allocations: 29.69 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.00583, allocations: 39.61 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.005833, allocations: 0 / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.465e-05/0.005907, allocations: 56.45 kB / 297.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.005919, allocations: 4 kB / 297.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.005926, allocations: 4 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.005937, allocations: 0 / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.006005, allocations: 19.86 kB / 298 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.006008, allocations: 0 / 298 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.006038, allocations: 15.97 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006043, allocations: 0 / 298 MB, free: 0.8633 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 (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 6.134e-05/0.006104, allocations: 116.7 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.006116, allocations: 8 kB / 298.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.006212, allocations: 62.83 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.006215, allocations: 0 / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.006222, allocations: 3.938 kB / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.006226, allocations: 0 / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.449e-05/0.006311, allocations: 85.81 kB / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.006312, allocations: 0 / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.006341, allocations: 19.92 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.006353, allocations: 7.953 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.006356, allocations: 3.938 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.006362, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006363, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.006366, allocations: 3.938 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.006444, allocations: 86.95 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.006461, allocations: 4 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.006484, allocations: 0 / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.006512, allocations: 7.984 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.006523, allocations: 8 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.006572, allocations: 52.5 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006572, allocations: 0 / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.006702, allocations: 23.94 kB / 298.5 MB, free: 324 kB / 282.7 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.00118/0.007882, allocations: 0.5587 MB / 299 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.007969, allocations: 28.84 kB / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.007977, allocations: 0 / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.008009, allocations: 24.78 kB / 299.1 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.008206, allocations: 176.6 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.00865, allocations: 187.3 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.008687, allocations: 67.33 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.132e-05/0.008719, allocations: 8.5 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.00878, allocations: 67.36 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.008781, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of Templates: time 0.003257/0.01204, allocations: 1.799 MB / 301.4 MB, free: 13.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8155034258961678]