Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.00117/0.00117, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001721/0.002891, 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.00106/0.00106, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002444, allocations: 479.5 kB / 11.83 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 1.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09583/1.102, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.2703/0.2703, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02462/0.295, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.181e-05, allocations: 3.156 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00289/0.002912, allocations: 1.768 MB / 294.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.004582, allocations: 1.002 MB / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.004656, allocations: 0 / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.004891, allocations: 75.59 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.00519, allocations: 111.4 kB / 295.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.005389, allocations: 71.62 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.005598, allocations: 107.6 kB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.005646, allocations: 12.16 kB / 296.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.005819, allocations: 87.73 kB / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.005927, allocations: 35.91 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.005946, allocations: 8 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.006032, allocations: 35.92 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.006084, allocations: 15.94 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.006118, allocations: 11.94 kB / 296.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.006296, allocations: 87.66 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.006307, allocations: 0 / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006308, allocations: 0 / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.006318, allocations: 3.938 kB / 296.3 MB, free: 2.684 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.0004921/0.00681, allocations: 325.2 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.006844, allocations: 8.031 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.006889, allocations: 12.92 kB / 296.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.007067, allocations: 138.3 kB / 296.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.007084, allocations: 4.375 kB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.007099, allocations: 4.375 kB / 296.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.007216, allocations: 65.69 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.007225, allocations: 3.938 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.007232, allocations: 0 / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.007238, allocations: 0 / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.111e-05/0.007269, allocations: 11.92 kB / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.007372, allocations: 78.58 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.38e-05/0.007466, allocations: 41.44 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.00749, allocations: 12.84 kB / 297 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.0075, allocations: 0 / 297 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.007615, allocations: 62.22 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.007616, allocations: 0 / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001298/0.007746, allocations: 53.62 kB / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.007779, allocations: 59.34 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.007923, allocations: 181.2 kB / 297.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.007943, allocations: 29.7 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.007977, allocations: 92.12 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.00801, allocations: 15.89 kB / 297.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.008046, allocations: 21.7 kB / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.008143, allocations: 322.8 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.008167, allocations: 6.828 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.008198, allocations: 25.69 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.008252, allocations: 39.55 kB / 297.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.008255, allocations: 0 / 297.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.604e-05/0.008351, allocations: 64.45 kB / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.008364, allocations: 4 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.00837, allocations: 4 kB / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.008386, allocations: 3.984 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.008467, allocations: 11.94 kB / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.008471, allocations: 0 / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.00851, allocations: 4 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.008518, allocations: 0 / 298 MB, free: 0.832 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 9.367e-05/0.008612, allocations: 120.7 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.008631, allocations: 8 kB / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.008758, allocations: 66.8 kB / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.00876, allocations: 0 / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.008762, allocations: 3.938 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.008765, allocations: 3.938 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.033e-05/0.008836, allocations: 89.84 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.008837, allocations: 0 / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.008861, allocations: 4 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.008875, allocations: 15.89 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.008877, allocations: 0 / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.008882, allocations: 0 / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008883, allocations: 0 / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.008885, allocations: 11.94 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.358e-05/0.008949, allocations: 82.89 kB / 298.4 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.008964, allocations: 8 kB / 298.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.008985, allocations: 7.984 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.009004, allocations: 0 / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.009014, allocations: 4 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.009052, allocations: 55.58 kB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009052, allocations: 0 / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001079/0.00916, allocations: 19.95 kB / 298.5 MB, free: 284 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.00113/0.01029, allocations: 0.567 MB / 299.1 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.275e-05/0.01037, allocations: 32.8 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.01038, allocations: 0 / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.01041, allocations: 28.77 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01057, allocations: 176.4 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.01095, allocations: 190.8 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.1e-05/0.01098, allocations: 63.44 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.817e-05/0.01101, allocations: 16.48 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.01106, allocations: 67.36 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01107, allocations: 0 / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Templates: time 0.002999/0.01406, allocations: 1.806 MB / 301.4 MB, free: 13.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.885895373299718]