Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.0009141/0.0009141, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.0008979/0.0008979, allocations: 169.3 kB / 25.61 MB, free: 8.855 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.8746/0.8746, allocations: 177.1 MB / 206 MB, free: 4.531 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.1326/0.1326, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.419e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.0016/0.001614, allocations: 1.626 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005498/0.002164, allocations: 0.5297 MB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.002209, allocations: 0 / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.002377, allocations: 27.84 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.002567, allocations: 75.56 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.002765, allocations: 115.6 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.002877, allocations: 71.72 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.002959, allocations: 15.84 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.003004, allocations: 27.92 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.003051, allocations: 19.91 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.003062, allocations: 4 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.003116, allocations: 31.92 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.003153, allocations: 15.94 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.003172, allocations: 15.98 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003284, allocations: 71.67 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003286, allocations: 0 / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003287, allocations: 3.938 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.00329, allocations: 0 / 381.9 MB, free: 20.74 MB / 314.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.0002597/0.00355, allocations: 416.1 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.003578, allocations: 8.031 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.003605, allocations: 8.891 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.683e-05/0.003691, allocations: 144.4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.003699, allocations: 384 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.003712, allocations: 4.375 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.471e-05/0.003777, allocations: 58.95 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003785, allocations: 4.125 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.003791, allocations: 4.125 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.003796, allocations: 0 / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.003813, allocations: 7.984 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.00398, allocations: 244.4 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.004082, allocations: 51.03 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.004095, allocations: 11.69 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.004106, allocations: 0 / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.00412, allocations: 49.41 kB / 382.9 MB, free: 19.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004121, allocations: 0 / 382.9 MB, free: 19.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002131/0.004334, allocations: 93.5 kB / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.58e-05/0.004349, allocations: 51.41 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.004409, allocations: 208.8 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-06/0.004414, allocations: 25.7 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.004439, allocations: 138.9 kB / 383.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.004454, allocations: 23.81 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.004476, allocations: 27.31 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.436e-05/0.00451, allocations: 0.4923 MB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.004519, allocations: 4 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-06/0.004529, allocations: 12.06 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.004554, allocations: 23.67 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.004554, allocations: 3.938 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.055e-05/0.004605, allocations: 61.55 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.004614, allocations: 4 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.004617, allocations: 0 / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/0.004624, allocations: 0 / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.154e-05/0.004656, allocations: 11.98 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.004658, allocations: 4 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.004673, allocations: 0 / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004678, allocations: 12 kB / 384.1 MB, free: 18.37 MB / 314.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 3.257e-05/0.004711, allocations: 160.5 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.004729, allocations: 7.953 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.004809, allocations: 66.08 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004811, allocations: 4 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.004812, allocations: 0 / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.004815, allocations: 3.984 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.004956, allocations: 298 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004957, allocations: 0 / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.00498, allocations: 12.25 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.004981, allocations: 4 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.004986, allocations: 4 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.004987, allocations: 4 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.004988, allocations: 0 / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.607e-05/0.005044, allocations: 207.8 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.00505, allocations: 7.938 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005061, allocations: 4 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.00509, allocations: 0 / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.005108, allocations: 4 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.005111, allocations: 3.984 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.005141, allocations: 151.2 kB / 385 MB, free: 17.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005141, allocations: 0 / 385 MB, free: 17.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.005298, allocations: 19.94 kB / 385.1 MB, free: 17.36 MB / 314.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.000729/0.006027, allocations: 400.5 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.006098, allocations: 23.67 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.0061, allocations: 0 / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.621e-05/0.006116, allocations: 23.67 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.006299, allocations: 20.55 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.006507, allocations: 172.4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.185e-05/0.006528, allocations: 70.2 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.466e-05/0.006553, allocations: 15.97 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.00659, allocations: 82.2 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.006591, allocations: 0 / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of Templates: time 0.00234/0.008931, allocations: 1.291 MB / 387.1 MB, free: 15.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.7820275030098855]