Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.00106/0.00106, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001019/0.001019, allocations: 174 kB / 25.61 MB, free: 8.926 MB / 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 0.9771/0.9771, allocations: 177.2 MB / 206.1 MB, free: 4.496 MB / 186.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.1337/0.1337, allocations: 32.79 MB / 295.4 MB, free: 15.36 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.695e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002631/0.002648, allocations: 1.704 MB / 379 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.003561, allocations: 0.5647 MB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.003637, allocations: 4 kB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.004137, allocations: 455.1 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.004551, allocations: 299.1 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.004937, allocations: 175.5 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.00518, allocations: 183.6 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005283, allocations: 12.22 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.00541, allocations: 119.8 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.00563, allocations: 251.6 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.005649, allocations: 4 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.00575, allocations: 47.92 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.59e-05/0.005836, allocations: 87.66 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.00588, allocations: 43.72 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.006126, allocations: 211.1 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.006128, allocations: 0 / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006129, allocations: 3.938 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006133, allocations: 4 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004817/0.006615, allocations: 0.7125 MB / 382.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.006642, allocations: 15.98 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.006681, allocations: 44.66 kB / 382.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.006816, allocations: 252.8 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.006824, allocations: 384 / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.00684, allocations: 8.375 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/0.006919, allocations: 58.94 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.006931, allocations: 192 / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.006939, allocations: 8.125 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.006944, allocations: 4 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.006967, allocations: 15.92 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.007215, allocations: 340.2 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.007263, allocations: 47.08 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.007279, allocations: 19.7 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.007292, allocations: 0 / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.007307, allocations: 33.39 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.007308, allocations: 4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004093/0.007717, allocations: 185.2 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.007738, allocations: 51.41 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.008004, allocations: 0.6079 MB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.008012, allocations: 29.7 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.00811, allocations: 298.7 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.00813, allocations: 31.73 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.008156, allocations: 31.3 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.008232, allocations: 0.5624 MB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.008246, allocations: 4 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.008261, allocations: 15.92 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.008296, allocations: 35.89 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008297, allocations: 0 / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.964e-05/0.008377, allocations: 101.4 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.008387, allocations: 6.031 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.008391, allocations: 0 / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.0084, allocations: 4 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.008463, allocations: 15.98 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.008466, allocations: 3.938 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.008491, allocations: 4 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.008496, allocations: 4 kB / 384.9 MB, free: 17.7 MB / 314.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 5.544e-05/0.008552, allocations: 168.5 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.008586, allocations: 47.67 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.008711, allocations: 109.5 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008713, allocations: 4 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008715, allocations: 0 / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008718, allocations: 0 / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.008981, allocations: 429.5 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008983, allocations: 0 / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.009017, allocations: 15.94 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.009019, allocations: 8.031 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.009025, allocations: 4 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.009026, allocations: 3.984 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009028, allocations: 0 / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.00913, allocations: 267.2 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.00915, allocations: 31.72 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.009165, allocations: 4 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.009204, allocations: 7.984 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.00923, allocations: 7.938 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.009234, allocations: 3.938 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.009393, allocations: 398.7 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009393, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.009568, allocations: 39.86 kB / 386.5 MB, free: 16.1 MB / 314.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.0008588/0.01043, allocations: 439.7 kB / 386.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.01051, allocations: 39.59 kB / 386.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.51e-07/0.01051, allocations: 4 kB / 386.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.01053, allocations: 23.67 kB / 386.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01075, allocations: 35.33 kB / 387 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.01121, allocations: 0.6072 MB / 387.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.338e-05/0.01126, allocations: 131 kB / 387.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.01129, allocations: 17.02 kB / 387.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.01134, allocations: 82.2 kB / 387.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01134, allocations: 0 / 387.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of Templates: time 0.003639/0.01498, allocations: 1.789 MB / 389.6 MB, free: 13.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.174352739006281]