Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0009084/0.0009084, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001754/0.001754, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 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.074/1.074, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.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.2863/0.2863, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.014e-05, allocations: 4.703 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002411/0.002441, allocations: 1.653 MB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.003223, allocations: 0.5376 MB / 380.3 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.003283, allocations: 0 / 380.3 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.00355, allocations: 95.67 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.003849, allocations: 111.5 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.004117, allocations: 99.62 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.004276, allocations: 79.81 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.004367, allocations: 19.86 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.004431, allocations: 47.83 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.004533, allocations: 59.86 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.004547, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.004634, allocations: 43.98 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.004681, allocations: 19.92 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.004712, allocations: 15.92 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.00487, allocations: 99.59 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004872, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004873, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.004879, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004163/0.005295, allocations: 455.8 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.005332, allocations: 8.031 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.005377, allocations: 12.89 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005539, allocations: 156.4 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.005548, allocations: 384 / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.005574, allocations: 8.375 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.005684, allocations: 50.95 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005694, allocations: 8.188 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.005705, allocations: 4.125 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.005711, allocations: 0 / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.005743, allocations: 15.92 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.006089, allocations: 295.7 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.006158, allocations: 43.05 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.006184, allocations: 15.62 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.006203, allocations: 0 / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.006222, allocations: 37.33 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.006224, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005336/0.006757, allocations: 193.3 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.006785, allocations: 55.39 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.00694, allocations: 249.9 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006951, allocations: 25.7 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.00701, allocations: 162.8 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.007037, allocations: 27.75 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.00707, allocations: 23.38 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.007191, allocations: 0.5 MB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.007215, allocations: 15.98 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.007233, allocations: 8 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.007287, allocations: 39.61 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007289, allocations: 0 / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.522e-05/0.007384, allocations: 77.62 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.007396, allocations: 4 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007401, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.007414, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.007495, allocations: 15.98 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.0075, allocations: 4 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.007522, allocations: 4 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007528, allocations: 4 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.051e-05/0.007598, allocations: 164.5 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.007622, allocations: 15.91 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.007769, allocations: 87.44 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007771, allocations: 4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.007774, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007778, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.008098, allocations: 385 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.008101, allocations: 4 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.008146, allocations: 16.03 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008149, allocations: 3.938 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.008157, allocations: 4 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.008161, allocations: 7.984 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.008163, allocations: 3.938 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.00829, allocations: 231.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.0083, allocations: 7.953 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.008313, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.008354, allocations: 15.98 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.008386, allocations: 7.938 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.00839, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.219e-05/0.008472, allocations: 179.1 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008472, allocations: 3.938 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.008647, allocations: 23.94 kB / 384.6 MB, free: 11.85 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001008/0.009655, allocations: 426.8 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.009777, allocations: 39.67 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009778, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.009815, allocations: 35.61 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01005, allocations: 25.89 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.01043, allocations: 245.8 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.01048, allocations: 67.33 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.01051, allocations: 17.02 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.01055, allocations: 16.5 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01055, allocations: 3.938 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003445/0.01399, allocations: 1.386 MB / 386.8 MB, free: 9.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.3605879647657275]