Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001024/0.001024, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001464/0.001464, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.238/0.238, allocations: 32.8 MB / 294.6 MB, free: 1.281 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.17e-05, allocations: 2.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002076/0.002098, allocations: 1.696 MB / 377.7 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007042/0.002802, allocations: 0.5336 MB / 378.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.002865, allocations: 4 kB / 378.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.003077, allocations: 35.7 kB / 378.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.003313, allocations: 87.55 kB / 378.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.00351, allocations: 95.62 kB / 378.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003652, allocations: 87.81 kB / 378.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.003745, allocations: 15.98 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.003811, allocations: 51.83 kB / 378.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.003891, allocations: 27.91 kB / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.003907, allocations: 4 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.003985, allocations: 51.91 kB / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.004027, allocations: 15.92 kB / 378.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.004054, allocations: 19.92 kB / 378.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.004221, allocations: 95.59 kB / 378.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004223, allocations: 0 / 378.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004224, allocations: 0 / 378.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.004227, allocations: 0 / 378.8 MB, free: 2.145 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003687/0.004596, allocations: 436 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004628, allocations: 12.03 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.004673, allocations: 20.83 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004802, allocations: 142.8 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.004813, allocations: 8.359 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.004837, allocations: 12.33 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.004947, allocations: 62.94 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.004956, allocations: 4.188 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004966, allocations: 8.125 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.004972, allocations: 0 / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.005014, allocations: 19.92 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.005313, allocations: 315.6 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.005386, allocations: 58.98 kB / 379.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.00541, allocations: 19.62 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.005428, allocations: 3.984 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.005447, allocations: 37.39 kB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005448, allocations: 0 / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000554/0.006002, allocations: 229.9 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.006035, allocations: 63.33 kB / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.006169, allocations: 208.8 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.00618, allocations: 25.7 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.006232, allocations: 154.8 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.006261, allocations: 43.64 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.006295, allocations: 31.38 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.006417, allocations: 0.4923 MB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.006445, allocations: 19.98 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.006472, allocations: 23.86 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.006534, allocations: 47.69 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.006535, allocations: 0 / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001157/0.006651, allocations: 109.6 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.006662, allocations: 11.94 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006666, allocations: 0 / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006677, allocations: 0 / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.006758, allocations: 23.98 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.006763, allocations: 3.938 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.006782, allocations: 4.109 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.006789, allocations: 11.92 kB / 381.4 MB, free: 15.32 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 (13): * Single equations (assignments): 13 * 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.55e-05/0.006855, allocations: 156.6 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.006877, allocations: 19.95 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.007033, allocations: 118.3 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.00704, allocations: 4 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007043, allocations: 0 / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.00705, allocations: 7.922 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.007367, allocations: 420.9 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007368, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.007419, allocations: 27.92 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.007422, allocations: 3.938 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.00743, allocations: 4 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007431, allocations: 4.031 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.007433, allocations: 0 / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.007575, allocations: 258.3 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-06/0.007583, allocations: 7.891 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.007595, allocations: 4 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.007632, allocations: 15.92 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.007661, allocations: 7.984 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.007667, allocations: 8 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.007724, allocations: 155.1 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007724, allocations: 4 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.007891, allocations: 24 kB / 382.7 MB, free: 14.01 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 (13): * Single equations (assignments): 13 * 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.0009433/0.008834, allocations: 432 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.008953, allocations: 67.59 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008955, allocations: 0 / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.009003, allocations: 43.61 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.009221, allocations: 35.22 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.00962, allocations: 238.5 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.009669, allocations: 67.28 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.009713, allocations: 20.47 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.009752, allocations: 20.5 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.009753, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003209/0.01296, allocations: 1.54 MB / 385.1 MB, free: 11.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.26231371704489]