Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001022/0.001022, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001157/0.001157, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 1.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.267/0.267, allocations: 34.25 MB / 296.1 MB, free: 0.668 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.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 3.984 kB / 325.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.405e-05, allocations: 5.516 kB / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003454/0.003478, allocations: 1.806 MB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.005252, allocations: 1.01 MB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.005341, allocations: 0 / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.005664, allocations: 43.7 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.006021, allocations: 99.47 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.006275, allocations: 79.61 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.00647, allocations: 107.7 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.00656, allocations: 4 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.006676, allocations: 55.78 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.006765, allocations: 31.89 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.006783, allocations: 4 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006886, allocations: 43.92 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.006936, allocations: 23.91 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.006977, allocations: 20.38 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.00718, allocations: 107.6 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.007182, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007183, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.007187, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.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.0004339/0.007621, allocations: 325.5 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.007656, allocations: 8.031 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.007694, allocations: 12.92 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.007884, allocations: 142.6 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.007902, allocations: 12.31 kB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.007919, allocations: 384 / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.008041, allocations: 73.69 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.008053, allocations: 7.938 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.008061, allocations: 0 / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.008066, allocations: 0 / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.008097, allocations: 8 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.008348, allocations: 165.9 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.008457, allocations: 85.36 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.008481, allocations: 12.86 kB / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.008491, allocations: 0 / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.008603, allocations: 78.08 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.008604, allocations: 0 / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003386/0.008943, allocations: 117.5 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.008974, allocations: 51.41 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.009117, allocations: 180.2 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.009136, allocations: 29.7 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.009177, allocations: 96.06 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.009208, allocations: 23.8 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.009252, allocations: 29.69 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.009342, allocations: 322.8 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.009359, allocations: 15.2 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.009382, allocations: 25.7 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.009424, allocations: 40.45 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.009426, allocations: 4 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.374e-05/0.0095, allocations: 72.38 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.009511, allocations: 8 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.009515, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.009527, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.009586, allocations: 19.98 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.00959, allocations: 8.031 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.009616, allocations: 4 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.009622, allocations: 4 kB / 330.7 MB, free: 1.957 MB / 298.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 6.171e-05/0.009684, allocations: 120.6 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.009696, allocations: 11.94 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.00979, allocations: 79.06 kB / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009793, allocations: 7.938 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009794, allocations: 0 / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009797, allocations: 0 / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.01, allocations: 299.6 kB / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01, allocations: 0 / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.01002, allocations: 11.98 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01003, allocations: 3.938 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.01003, allocations: 8 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01004, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01004, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.75e-05/0.01013, allocations: 211 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01015, allocations: 15.84 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.01016, allocations: 8 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.01021, allocations: 0 / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.01023, allocations: 12.02 kB / 331.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01025, allocations: 4 kB / 331.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.556e-05/0.01029, allocations: 60.67 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01029, allocations: 0 / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.01043, allocations: 27.94 kB / 331.6 MB, free: 1.02 MB / 298.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.001189/0.01162, allocations: 0.573 MB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.0117, allocations: 40.78 kB / 332.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01171, allocations: 0 / 332.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.01174, allocations: 24.78 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.0119, allocations: 45.42 kB / 332.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.0122, allocations: 227.7 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.01224, allocations: 75.33 kB / 332.6 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.01228, allocations: 17.27 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.01234, allocations: 67.38 kB / 332.7 MB, free: 212 kB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01234, allocations: 0 / 332.7 MB, free: 212 kB / 298.7 MB Notification: Performance of Templates: time 0.003462/0.0158, allocations: 2.018 MB / 334.7 MB, free: 14.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.079809583257884]