Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.0009934/0.0009934, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001058/0.001058, allocations: 171.4 kB / 24.82 MB, free: 8.906 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.9655/0.9655, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2358/0.2358, allocations: 32.81 MB / 294.6 MB, free: 1.152 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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.893e-05, allocations: 5.406 kB / 376.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001903/0.001922, allocations: 1.642 MB / 378.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006664/0.002588, allocations: 0.5375 MB / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.002642, allocations: 0 / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.00288, allocations: 111.6 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.003112, allocations: 127.4 kB / 378.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.00332, allocations: 107.6 kB / 379 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.003441, allocations: 95.8 kB / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.003519, allocations: 7.984 kB / 379.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.003585, allocations: 59.81 kB / 379.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.003669, allocations: 63.86 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.003682, allocations: 4 kB / 379.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.003747, allocations: 43.92 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.003788, allocations: 31.86 kB / 379.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.003809, allocations: 15.92 kB / 379.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.003935, allocations: 99.59 kB / 379.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003937, allocations: 0 / 379.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003937, allocations: 0 / 379.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003941, allocations: 4 kB / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003306/0.004271, allocations: 459.7 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.004303, allocations: 8.031 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.004332, allocations: 16.84 kB / 379.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.004442, allocations: 153.2 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.00445, allocations: 4.375 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.004466, allocations: 4.375 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.004545, allocations: 54.95 kB / 380.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.004552, allocations: 192 / 380.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.004559, allocations: 8.109 kB / 380.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004565, allocations: 8 kB / 380.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.004586, allocations: 11.92 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.0048, allocations: 272.4 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.004845, allocations: 39.05 kB / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.004862, allocations: 15.72 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.004879, allocations: 3.984 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.004899, allocations: 45.31 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004899, allocations: 7.938 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003714/0.005271, allocations: 149.4 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.005306, allocations: 55.41 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.00543, allocations: 259 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005441, allocations: 29.7 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.0055, allocations: 162.8 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.005523, allocations: 31.73 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.005552, allocations: 23.36 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.005681, allocations: 0.5001 MB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.005697, allocations: 7.984 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.005712, allocations: 11.98 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.00575, allocations: 43.61 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005752, allocations: 3.938 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.119e-05/0.005823, allocations: 73.59 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.005833, allocations: 4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005837, allocations: 0 / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.005847, allocations: 0 / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.005902, allocations: 19.98 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.005905, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.005925, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.00593, allocations: 7.938 kB / 381.9 MB, free: 14.73 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 (8): * Single equations (assignments): 8 * 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.002e-05/0.00599, allocations: 168.5 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.006011, allocations: 15.91 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.006118, allocations: 83.12 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.006119, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.006121, allocations: 4 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006124, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.006363, allocations: 350 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006365, allocations: 0 / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.006397, allocations: 15.94 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.0064, allocations: 3.984 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.006406, allocations: 11.97 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006407, allocations: 0 / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.006408, allocations: 4 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.006515, allocations: 239.5 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-06/0.006524, allocations: 12.33 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-06/0.006533, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.006567, allocations: 7.984 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.006592, allocations: 11.94 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.006594, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.301e-05/0.006657, allocations: 175.1 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006657, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.006811, allocations: 27.94 kB / 383 MB, free: 13.55 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0007982/0.007609, allocations: 438.1 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.007686, allocations: 51.58 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007688, allocations: 0 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.007711, allocations: 23.67 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.0079, allocations: 16 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.008182, allocations: 249.5 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.00822, allocations: 75.33 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.008263, allocations: 17.02 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.008329, allocations: 78.2 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.00833, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.002888/0.01122, allocations: 1.562 MB / 385.5 MB, free: 11.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.8979277787730098]