Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.0009526/0.0009526, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001445/0.001445, allocations: 173.4 kB / 24.92 MB, free: 9.129 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.9291/0.9291, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2486/0.2486, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.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.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.462e-05, allocations: 8.359 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003861/0.003885, allocations: 1.916 MB / 325.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.006076, allocations: 1.111 MB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.006223, allocations: 4 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.006775, allocations: 227.2 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.007352, allocations: 215.1 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.007734, allocations: 123.6 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.00814, allocations: 259.8 kB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.008255, allocations: 26.59 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.008523, allocations: 147.5 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.008732, allocations: 135.7 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.008761, allocations: 8 kB / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.008905, allocations: 67.91 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.008993, allocations: 63.7 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.009059, allocations: 43.8 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.009381, allocations: 199.2 kB / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.009385, allocations: 0 / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009386, allocations: 0 / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.009391, allocations: 4 kB / 327.8 MB, free: 5.051 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006317/0.01002, allocations: 487.9 kB / 328.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01006, allocations: 8.031 kB / 328.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.01012, allocations: 28.91 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.01039, allocations: 209.8 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.01042, allocations: 4.375 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.01044, allocations: 8.375 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.01064, allocations: 124 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.01066, allocations: 3.938 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.01067, allocations: 4 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.01067, allocations: 4 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.331e-05/0.01074, allocations: 25.62 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.01116, allocations: 308.8 kB / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.01148, allocations: 182.7 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.01153, allocations: 29.64 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.01155, allocations: 4 kB / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.01171, allocations: 115.2 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.01172, allocations: 0 / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008718/0.01259, allocations: 312.6 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.01264, allocations: 85.09 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.01293, allocations: 324.6 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.01296, allocations: 33.69 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.01302, allocations: 121.5 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.01309, allocations: 71.41 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.01315, allocations: 45.69 kB / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01328, allocations: 350.7 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.01335, allocations: 26.81 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.0134, allocations: 58.02 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.09e-05/0.01349, allocations: 110.9 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01349, allocations: 0 / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001321/0.01363, allocations: 133.3 kB / 331 MB, free: 1.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.01364, allocations: 8.062 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01364, allocations: 0 / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01365, allocations: 4 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.01374, allocations: 43.92 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01374, allocations: 4 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.01379, allocations: 15.89 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.0138, allocations: 7.984 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.57e-05/0.01389, allocations: 128.6 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.01392, allocations: 27.91 kB / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.01412, allocations: 153.6 kB / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01413, allocations: 8 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01413, allocations: 0 / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.01414, allocations: 3.984 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.01456, allocations: 0.5594 MB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01456, allocations: 0 / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.01461, allocations: 31.92 kB / 332 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.01462, allocations: 7.938 kB / 332 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.01463, allocations: 8.125 kB / 332 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01463, allocations: 7.938 kB / 332 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.01463, allocations: 4 kB / 332 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.01483, allocations: 412.7 kB / 332.4 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01486, allocations: 27.75 kB / 332.4 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.01488, allocations: 11.98 kB / 332.5 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.01495, allocations: 11.98 kB / 332.5 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.01499, allocations: 19.97 kB / 332.5 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.01501, allocations: 8 kB / 332.5 MB, free: 84 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.01513, allocations: 143.4 kB / 332.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01513, allocations: 4 kB / 332.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.01535, allocations: 59.88 kB / 332.7 MB, free: 15.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001288/0.01663, allocations: 0.6579 MB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.01679, allocations: 100.5 kB / 333.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.0168, allocations: 4 kB / 333.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.948e-05/0.01686, allocations: 69.06 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.01715, allocations: 73.58 kB / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.0177, allocations: 489.4 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.316e-05/0.01776, allocations: 100.3 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.499e-05/0.01784, allocations: 41.92 kB / 334.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01794, allocations: 91.36 kB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01794, allocations: 0 / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of Templates: time 0.005596/0.02354, allocations: 3.637 MB / 337.9 MB, free: 10.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.9059733310714364]