Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001894/0.001894, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001956/0.001956, allocations: 161.3 kB / 24.27 MB, free: 156 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 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 178] 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.3829/0.3829, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.293e-05, allocations: 6.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.005718/0.005751, allocations: 1.619 MB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.007523, allocations: 0.5298 MB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.007602, allocations: 4 kB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.008058, allocations: 107.6 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005193/0.008577, allocations: 123.4 kB / 377.7 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.009014, allocations: 91.64 kB / 377.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.009295, allocations: 91.73 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.009423, allocations: 15.98 kB / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.009576, allocations: 47.88 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.009773, allocations: 71.86 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.009801, allocations: 4 kB / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.009965, allocations: 47.91 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.01005, allocations: 27.86 kB / 378.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.01011, allocations: 15.88 kB / 378.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.01043, allocations: 107.6 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01043, allocations: 0 / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01044, allocations: 0 / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01044, allocations: 4 kB / 378.2 MB, free: 2.062 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.0008586/0.0113, allocations: 463.4 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.01135, allocations: 16.03 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.01143, allocations: 16.84 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.01175, allocations: 161.1 kB / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.01177, allocations: 4.375 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.0118, allocations: 4.375 kB / 378.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.01199, allocations: 46.25 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.01201, allocations: 192 / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.01202, allocations: 4.125 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.01203, allocations: 4 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.01216, allocations: 23.97 kB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.01282, allocations: 319.6 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.013, allocations: 43.06 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.01309, allocations: 27.7 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.01312, allocations: 3.984 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.01317, allocations: 37.39 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.01317, allocations: 0 / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.00124/0.01441, allocations: 209.2 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.01448, allocations: 55.41 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.01489, allocations: 279 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.01493, allocations: 29.7 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.0151, allocations: 166.9 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/0.01518, allocations: 31.73 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.01526, allocations: 27.38 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003954/0.01565, allocations: 0.5079 MB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.01576, allocations: 19.98 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.01586, allocations: 19.98 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.01609, allocations: 71.95 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01609, allocations: 3.938 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003212/0.01641, allocations: 97.52 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.01644, allocations: 8 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01644, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01646, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01659, allocations: 15.98 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.0166, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.01667, allocations: 8 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01668, allocations: 4 kB / 380.9 MB, free: 15.17 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 0.0001875/0.01687, allocations: 164.5 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.01694, allocations: 15.91 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.01733, allocations: 111.1 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.01734, allocations: 3.984 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.01735, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01735, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/0.01825, allocations: 421 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01825, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01836, allocations: 24.02 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.01837, allocations: 4 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01838, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01838, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01838, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.01886, allocations: 267.4 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.0189, allocations: 19.89 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.01892, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01904, allocations: 4 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.01909, allocations: 7.922 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.0191, allocations: 8 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.01936, allocations: 191.2 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01936, allocations: 0 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004707/0.01983, allocations: 23.92 kB / 382.1 MB, free: 13.85 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.004815/0.02465, allocations: 0.4937 MB / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.02497, allocations: 67.64 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02497, allocations: 0 / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.02513, allocations: 39.61 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.02564, allocations: 22.62 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008023/0.02645, allocations: 269.4 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.02663, allocations: 101.8 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.091e-05/0.02671, allocations: 8.734 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.02677, allocations: 16.5 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02677, allocations: 0 / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Templates: time 0.007267/0.03403, allocations: 1.382 MB / 384.5 MB, free: 11.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.820202753995545]