Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001412/0.001412, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001691/0.001691, allocations: 161 kB / 24.56 MB, free: 16 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.578 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.2765/0.2765, allocations: 34.25 MB / 295.7 MB, free: 0.7539 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.696e-05, allocations: 2.312 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002603/0.00263, allocations: 1.645 MB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.00348, allocations: 0.5453 MB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.003534, allocations: 3.938 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.003758, allocations: 23.86 kB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.004028, allocations: 87.55 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.004297, allocations: 111.6 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004439, allocations: 63.78 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.004538, allocations: 11.98 kB / 380.5 MB, free: 136 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.004598, allocations: 31.91 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.004656, allocations: 23.92 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.004673, allocations: 4 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.471e-05/0.004748, allocations: 27.98 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.004794, allocations: 11.94 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.004826, allocations: 19.91 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.005134, allocations: 71.69 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.005136, allocations: 3.938 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005137, allocations: 0 / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.005141, allocations: 0 / 380.7 MB, free: 15.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004257/0.005567, allocations: 424 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.005607, allocations: 8.031 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.00565, allocations: 16.89 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.005801, allocations: 137.1 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.00581, allocations: 384 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.005837, allocations: 384 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.005962, allocations: 62.69 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005971, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.005981, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005989, allocations: 7.938 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.006021, allocations: 8 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.006356, allocations: 275.8 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.006537, allocations: 50.98 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.006564, allocations: 15.62 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.006588, allocations: 4 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.006615, allocations: 37.47 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.006616, allocations: 0 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003829/0.006999, allocations: 101.4 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.007032, allocations: 55.41 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.007178, allocations: 212.8 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007192, allocations: 25.7 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.007254, allocations: 154.8 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.00728, allocations: 19.84 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.007317, allocations: 23.38 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.007445, allocations: 0.4961 MB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.007466, allocations: 4 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.007486, allocations: 12.05 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.007534, allocations: 27.69 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007535, allocations: 0 / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.895e-05/0.007634, allocations: 65.52 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.007649, allocations: 6.031 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.007653, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.007671, allocations: 4 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/0.007729, allocations: 12 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.007735, allocations: 3.984 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.007757, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.007764, allocations: 4 kB / 383 MB, free: 13.5 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 (5): * Single equations (assignments): 5 * 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.481e-05/0.007838, allocations: 160.5 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.007867, allocations: 12.19 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.008009, allocations: 78.06 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.008013, allocations: 3.984 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008016, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.008019, allocations: 4 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.008328, allocations: 329.4 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.00833, allocations: 0 / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.008373, allocations: 12.25 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008376, allocations: 0 / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.008384, allocations: 3.984 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.008388, allocations: 4 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.008389, allocations: 4 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.008521, allocations: 207.8 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.008531, allocations: 7.953 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.008545, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.008594, allocations: 8 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.00863, allocations: 7.984 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.008634, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.008716, allocations: 161.6 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008716, allocations: 0 / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.008964, allocations: 15.94 kB / 384 MB, free: 12.43 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001321/0.01029, allocations: 382.2 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.01041, allocations: 31.67 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01041, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.01044, allocations: 15.69 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.01074, allocations: 19.73 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.01113, allocations: 198.2 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.01118, allocations: 63.34 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01122, allocations: 11.98 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.01126, allocations: 16.5 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.01126, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of Templates: time 0.003636/0.0149, allocations: 1.173 MB / 385.9 MB, free: 10.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.2930756299756467]