Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001155/0.001155, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001396/0.001396, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.089/1.089, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3827/0.3827, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.571e-05, allocations: 10.25 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002591/0.002616, allocations: 1.646 MB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.00356, allocations: 0.5336 MB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.003634, allocations: 7.938 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.003947, allocations: 91.67 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.004246, allocations: 115.5 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.004563, allocations: 111.7 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.00473, allocations: 87.75 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.004842, allocations: 11.98 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.004921, allocations: 47.88 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.005025, allocations: 51.89 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.005041, allocations: 0 / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/0.005125, allocations: 51.91 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.005175, allocations: 27.86 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.0052, allocations: 11.94 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.005366, allocations: 95.59 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005368, allocations: 4 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005369, allocations: 0 / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005373, allocations: 3.938 kB / 381.4 MB, free: 15.45 MB / 362.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.0004442/0.005817, allocations: 451.8 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.005863, allocations: 12.03 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.0059, allocations: 12.89 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.006042, allocations: 148.4 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.006052, allocations: 8.375 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.006074, allocations: 4.375 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.006184, allocations: 62.88 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006194, allocations: 192 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.006203, allocations: 4.125 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.006212, allocations: 4 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.006241, allocations: 11.97 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.006533, allocations: 268.4 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.006597, allocations: 46.97 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.006617, allocations: 7.688 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.006643, allocations: 8 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.006668, allocations: 41.33 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.00667, allocations: 0 / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004761/0.007146, allocations: 149.5 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.007182, allocations: 51.41 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.007324, allocations: 253.7 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.007336, allocations: 33.62 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.007402, allocations: 158.8 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.007433, allocations: 35.73 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.007466, allocations: 23.38 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.00761, allocations: 0.5001 MB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.007628, allocations: 7.984 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.007644, allocations: 8 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.007688, allocations: 31.66 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00769, allocations: 3.938 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.662e-05/0.007777, allocations: 77.59 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.007789, allocations: 4 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007794, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.007805, allocations: 3.938 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.007874, allocations: 19.98 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.007878, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.007896, allocations: 4 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007901, allocations: 0 / 383.8 MB, free: 12.84 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 7.273e-05/0.007974, allocations: 164.5 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.007995, allocations: 11.95 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.008259, allocations: 91.36 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.008269, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.008275, allocations: 4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.008282, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.008888, allocations: 357.6 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.008893, allocations: 0 / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.009007, allocations: 12 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.009017, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.009027, allocations: 0 / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.009033, allocations: 3.984 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.009035, allocations: 0 / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.009315, allocations: 243.4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.00934, allocations: 7.953 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.00936, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.009444, allocations: 8.438 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.009489, allocations: 8 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.009498, allocations: 3.938 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.009637, allocations: 175.1 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009637, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.009929, allocations: 23.94 kB / 384.9 MB, free: 11.66 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.001557/0.01149, allocations: 438.2 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.01165, allocations: 43.61 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01165, allocations: 4 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.01168, allocations: 27.61 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.01197, allocations: 23.12 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.01246, allocations: 250.1 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.01252, allocations: 71.33 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.01257, allocations: 16.78 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.01264, allocations: 86.19 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of SimCode: time 2.194e-06/0.01264, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Templates: time 0.004094/0.01674, allocations: 1.556 MB / 387.4 MB, free: 9.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.357703025918454]