Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001033/0.001033, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009797/0.0009797, 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 0.9678/0.9678, allocations: 177.1 MB / 205 MB, free: 5.59 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.2845/0.2845, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.081e-05, allocations: 2.312 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002167/0.002198, allocations: 1.634 MB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.00292, allocations: 0.5453 MB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.002973, allocations: 0 / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.003164, allocations: 27.84 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.003437, allocations: 75.56 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.003695, allocations: 119.5 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.003822, allocations: 59.83 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003922, allocations: 15.98 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.003976, allocations: 27.92 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.004029, allocations: 19.92 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004044, allocations: 4 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.004114, allocations: 35.91 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.004158, allocations: 11.94 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.004183, allocations: 11.94 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004332, allocations: 71.72 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004335, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004335, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004339, allocations: 0 / 380.7 MB, free: 15.97 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.0003714/0.004711, allocations: 416.2 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.004745, allocations: 8.031 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.004787, allocations: 8.891 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.004936, allocations: 142.6 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.004945, allocations: 384 / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.004967, allocations: 384 / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.005075, allocations: 58.89 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.005083, allocations: 192 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005093, allocations: 8.125 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.005099, allocations: 0 / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.005131, allocations: 7.984 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.005432, allocations: 279.8 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.005581, allocations: 39.06 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.005605, allocations: 15.77 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.005628, allocations: 3.938 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.005649, allocations: 37.39 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.00565, allocations: 0 / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003438/0.005994, allocations: 109.5 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.006021, allocations: 51.41 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.00613, allocations: 197.9 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.00614, allocations: 33.7 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.006187, allocations: 138.9 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.006211, allocations: 27.72 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.006239, allocations: 23.38 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.006353, allocations: 0.4923 MB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006372, allocations: 4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.006388, allocations: 12.06 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.006426, allocations: 27.67 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006427, allocations: 0 / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.213e-05/0.006499, allocations: 53.59 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.006513, allocations: 8 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.00652, allocations: 7.984 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.006538, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.006586, allocations: 11.94 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.006591, allocations: 0 / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.00661, allocations: 8 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.006614, allocations: 0 / 382.9 MB, free: 13.57 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 6.356e-05/0.006678, allocations: 160.6 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.006698, allocations: 11.89 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.006837, allocations: 70.12 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.00684, allocations: 4 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.006843, allocations: 7.938 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006846, allocations: 0 / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.00707, allocations: 317.4 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007071, allocations: 4.312 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.007103, allocations: 11.98 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007104, allocations: 0 / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007111, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.007113, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007114, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.007221, allocations: 215.8 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.007229, allocations: 7.953 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.00724, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.138e-05/0.007272, allocations: 7.984 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.0073, allocations: 0 / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.007304, allocations: 8 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.007362, allocations: 150.1 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007362, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001595/0.007522, allocations: 16 kB / 383.9 MB, free: 12.52 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.0007835/0.008305, allocations: 377.1 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.442e-05/0.0084, allocations: 35.61 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008401, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.008423, allocations: 15.69 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.00863, allocations: 19.92 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.008946, allocations: 186.6 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.008984, allocations: 66.33 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.31e-05/0.009017, allocations: 8 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.009045, allocations: 20.48 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009046, allocations: 0 / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Templates: time 0.002929/0.01197, allocations: 1.173 MB / 385.8 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.194093804806471]