Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001272/0.001272, allocations: 80.8 kB / 21.5 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.001022/0.001022, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.9576/0.9576, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2513/0.2513, allocations: 34.27 MB / 296.1 MB, free: 0.7227 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.593e-05, allocations: 6.312 kB / 325.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002178/0.002194, allocations: 1.807 MB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.00341, allocations: 1.003 MB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.003473, allocations: 0 / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.003712, allocations: 39.7 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.003944, allocations: 95.47 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004103, allocations: 79.62 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.004243, allocations: 103.7 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.004338, allocations: 8 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.646e-05/0.004424, allocations: 63.75 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.004496, allocations: 23.92 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.00451, allocations: 4 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.004585, allocations: 43.92 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.004625, allocations: 19.91 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.004658, allocations: 28.36 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.004814, allocations: 95.66 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004815, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004816, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.004819, allocations: 4 kB / 328.8 MB, free: 4.125 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.0003136/0.005133, allocations: 305.6 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.005161, allocations: 12.03 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.00519, allocations: 8.922 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.005372, allocations: 145.6 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.005386, allocations: 4.375 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.005401, allocations: 4.375 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.005495, allocations: 69.75 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.005505, allocations: 3.938 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.005511, allocations: 0 / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.005516, allocations: 0 / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.005536, allocations: 7.938 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.005714, allocations: 166 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.005796, allocations: 85.28 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.005815, allocations: 8.859 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.005826, allocations: 11.94 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.674e-05/0.005912, allocations: 70.08 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.005913, allocations: 4 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002777/0.006191, allocations: 113.5 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.006218, allocations: 55.41 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.006308, allocations: 156.9 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.978e-05/0.006397, allocations: 29.7 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.006427, allocations: 92.11 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.006453, allocations: 27.78 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.006481, allocations: 21.7 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.006554, allocations: 330.8 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.006568, allocations: 6.828 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.006593, allocations: 29.69 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.006632, allocations: 36.47 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.006633, allocations: 4 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.273e-05/0.006706, allocations: 68.42 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.00672, allocations: 11.94 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.006724, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.006739, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.006799, allocations: 20.02 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.006802, allocations: 4 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.006829, allocations: 8 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006835, allocations: 4 kB / 330.7 MB, free: 2.059 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 5.911e-05/0.006894, allocations: 127.2 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.006904, allocations: 7.938 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.904e-05/0.006993, allocations: 74.38 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006995, allocations: 0 / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.006998, allocations: 4 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.007001, allocations: 0 / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.007198, allocations: 299.5 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007199, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.00722, allocations: 8 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.007222, allocations: 4 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.007228, allocations: 3.984 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.007229, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00723, allocations: 3.938 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.969e-05/0.00732, allocations: 223 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.007329, allocations: 7.953 kB / 331.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.007343, allocations: 4.031 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.007381, allocations: 8.359 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.007402, allocations: 7.938 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.007412, allocations: 7.984 kB / 331.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.189e-05/0.007444, allocations: 37.19 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007444, allocations: 0 / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.007588, allocations: 31.92 kB / 331.5 MB, free: 1.152 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.001269/0.008857, allocations: 0.5755 MB / 332.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.425e-05/0.008941, allocations: 44.78 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.008944, allocations: 0 / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.008974, allocations: 28.83 kB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.009158, allocations: 31.36 kB / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.009423, allocations: 208.2 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.009458, allocations: 67.34 kB / 332.5 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.009491, allocations: 21.25 kB / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.009552, allocations: 71.36 kB / 332.6 MB, free: 368 kB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009553, allocations: 0 / 332.6 MB, free: 368 kB / 298.7 MB Notification: Performance of Templates: time 0.003222/0.01277, allocations: 2.01 MB / 334.6 MB, free: 14.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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: 2.852944571059197]