Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001397/0.001397, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009897/0.0009897, allocations: 165 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.962/0.962, allocations: 177.1 MB / 205 MB, free: 5.281 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.3581/0.3581, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.231e-05, allocations: 5.547 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002185/0.002207, allocations: 1.649 MB / 377.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.00348, allocations: 1.274 MB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.003543, allocations: 4 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.003785, allocations: 23.84 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.004066, allocations: 91.48 kB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.004267, allocations: 91.64 kB / 379.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004417, allocations: 67.77 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004519, allocations: 8 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.004589, allocations: 43.83 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.004683, allocations: 19.92 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.004699, allocations: 4 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.004826, allocations: 91.88 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.004868, allocations: 15.91 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.004896, allocations: 15.94 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.005118, allocations: 127.6 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.005121, allocations: 4 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.005122, allocations: 3.984 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.005127, allocations: 0 / 379.5 MB, free: 1.129 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007/0.005827, allocations: 427.9 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.005864, allocations: 8.031 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.00591, allocations: 16.89 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.006065, allocations: 128.5 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.006073, allocations: 384 / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.006098, allocations: 8.359 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006235, allocations: 104 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006244, allocations: 4.188 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006255, allocations: 4.125 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006262, allocations: 0 / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.006293, allocations: 15.97 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.006604, allocations: 275.8 kB / 380.5 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.006814, allocations: 43.11 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.00684, allocations: 15.77 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.006872, allocations: 7.938 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.006902, allocations: 37.39 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.006904, allocations: 4 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004287/0.007333, allocations: 97.41 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.007378, allocations: 77.11 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.007516, allocations: 203.3 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.007528, allocations: 25.7 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.007583, allocations: 138.9 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.007609, allocations: 19.78 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.007642, allocations: 27.38 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.007755, allocations: 0.4884 MB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.007771, allocations: 4 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.007811, allocations: 57.08 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.007852, allocations: 27.8 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007853, allocations: 0 / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.369e-05/0.007927, allocations: 57.64 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.007946, allocations: 8 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.007952, allocations: 3.984 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.007967, allocations: 0 / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.00801, allocations: 11.83 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.008015, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.008038, allocations: 11.95 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.008042, allocations: 0 / 381.9 MB, free: 14.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.594e-05/0.008108, allocations: 168.5 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.00813, allocations: 11.89 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.008242, allocations: 62.16 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.008244, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.008249, allocations: 3.984 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.008253, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.00848, allocations: 325.3 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.008481, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.00851, allocations: 8 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.008513, allocations: 4 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.008519, allocations: 4 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00852, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008521, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.008634, allocations: 208 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.008644, allocations: 11.94 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.008657, allocations: 4.062 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.008691, allocations: 4 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.008722, allocations: 11.92 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.008725, allocations: 4 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.116e-05/0.008787, allocations: 145.4 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008787, allocations: 4 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.00898, allocations: 39.86 kB / 382.9 MB, free: 13.49 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.0009669/0.009947, allocations: 488.1 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.01005, allocations: 27.69 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01005, allocations: 4 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.01008, allocations: 23.61 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.01029, allocations: 23.92 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.01064, allocations: 162.2 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.01068, allocations: 59.34 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.01072, allocations: 15.98 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.01076, allocations: 24.48 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.01076, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of Templates: time 0.003691/0.01445, allocations: 1.828 MB / 385.5 MB, free: 10.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.3890562020242214]