Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0007942/0.0007942, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001866, 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.0015/0.0015, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.0027, 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09984/1.138, allocations: 53.64 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.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.2686/0.2686, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02706/0.2956, allocations: 12.53 MB / 289.3 MB, free: 8.684 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.777e-05, allocations: 7.188 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002787/0.002805, allocations: 1.809 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004318, allocations: 1.011 MB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.004386, allocations: 0 / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.004576, allocations: 45.8 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.0048, allocations: 93.75 kB / 293.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.004969, allocations: 79.59 kB / 293.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.005132, allocations: 111.6 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.00521, allocations: 4.75 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.005343, allocations: 87.73 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/0.00542, allocations: 23.92 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.005435, allocations: 4 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.005528, allocations: 47.91 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.005573, allocations: 19.94 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.005609, allocations: 11.94 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.005786, allocations: 95.61 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.619e-05/0.005802, allocations: 7.938 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005803, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.005818, allocations: 0 / 294.1 MB, free: 4.758 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.0004457/0.006264, allocations: 328.6 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.006296, allocations: 8.031 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.006331, allocations: 8.922 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.00651, allocations: 146.3 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.006524, allocations: 384 / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.006541, allocations: 8.375 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.006647, allocations: 61.77 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.006659, allocations: 7.875 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.006665, allocations: 0 / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.00667, allocations: 0 / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.006698, allocations: 11.98 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.006913, allocations: 169.9 kB / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.007007, allocations: 85.28 kB / 295 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.00703, allocations: 16.86 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.00704, allocations: 0 / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.007144, allocations: 70.09 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.007145, allocations: 0 / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003124/0.007457, allocations: 109.8 kB / 295.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.007489, allocations: 51.41 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.007605, allocations: 169 kB / 295.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.007623, allocations: 29.7 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.007658, allocations: 92.11 kB / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.007691, allocations: 39.66 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.007731, allocations: 21.72 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.007825, allocations: 326.8 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.007845, allocations: 10.83 kB / 295.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.007874, allocations: 21.83 kB / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.007931, allocations: 48.45 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.007932, allocations: 0 / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.75e-05/0.00803, allocations: 76.38 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.008042, allocations: 4 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008047, allocations: 4 kB / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.008055, allocations: 4.031 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.008136, allocations: 15.98 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.008139, allocations: 4 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.008171, allocations: 0 / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.008178, allocations: 4 kB / 296.1 MB, free: 2.664 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 7.149e-05/0.008249, allocations: 120.7 kB / 296.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.008267, allocations: 7.938 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.008405, allocations: 79.22 kB / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.008409, allocations: 4 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.00841, allocations: 0 / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.008414, allocations: 4 kB / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.00866, allocations: 291.4 kB / 296.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.008662, allocations: 0 / 296.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.008701, allocations: 15.98 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.008716, allocations: 11.91 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008718, allocations: 0 / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.008726, allocations: 11.94 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008728, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.00873, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.008851, allocations: 219 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.00887, allocations: 12.03 kB / 296.8 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.008927, allocations: 3.938 kB / 296.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.008954, allocations: 7.984 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.008968, allocations: 4 kB / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.009019, allocations: 52.33 kB / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009019, allocations: 0 / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.009224, allocations: 27.88 kB / 296.9 MB, free: 1.742 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.001647/0.01087, allocations: 0.6285 MB / 297.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.927e-05/0.01097, allocations: 44.72 kB / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.01098, allocations: 7.984 kB / 297.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.01102, allocations: 24.78 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01125, allocations: 52.11 kB / 297.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.01177, allocations: 220.1 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.971e-05/0.01182, allocations: 67.33 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.01186, allocations: 13.28 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.01194, allocations: 67.36 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01194, allocations: 0 / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of Templates: time 0.00429/0.01623, allocations: 2.043 MB / 300.1 MB, free: 14.92 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.9776988914236426]