Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001756/0.001756, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002024/0.002024, allocations: 165.7 kB / 24.27 MB, free: 172 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.51/1.51, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.4002/0.4002, allocations: 32.8 MB / 293.9 MB, free: 1.207 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.277e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003552/0.003585, allocations: 1.599 MB / 376.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004835, allocations: 0.5297 MB / 377.4 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.004914, allocations: 0 / 377.4 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.005161, allocations: 23.8 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.005549, allocations: 87.61 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.00592, allocations: 111.6 kB / 377.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.006098, allocations: 63.78 kB / 377.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.006194, allocations: 11.97 kB / 377.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.466e-05/0.006269, allocations: 27.92 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.006335, allocations: 19.92 kB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.006356, allocations: 4 kB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.006472, allocations: 43.84 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.006524, allocations: 7.938 kB / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.006564, allocations: 15.98 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.006774, allocations: 79.72 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006777, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006778, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.006783, allocations: 3.938 kB / 377.9 MB, free: 2.328 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.0005627/0.007346, allocations: 317.8 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.007392, allocations: 8.031 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.007459, allocations: 12.89 kB / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.007682, allocations: 141.5 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.007696, allocations: 4.375 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.007722, allocations: 4.375 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.007876, allocations: 50.25 kB / 378.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.007889, allocations: 192 / 378.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.007902, allocations: 4.125 kB / 378.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.007907, allocations: 0 / 378.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.008012, allocations: 27.97 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.008439, allocations: 224.6 kB / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.008695, allocations: 38.66 kB / 378.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.008765, allocations: 24.84 kB / 378.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.008797, allocations: 3.938 kB / 378.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.008836, allocations: 34.56 kB / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.008837, allocations: 0 / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007411/0.009578, allocations: 153.4 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.009627, allocations: 51.41 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.009837, allocations: 165 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.009859, allocations: 29.7 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.009944, allocations: 100.1 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.009976, allocations: 15.84 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.01003, allocations: 25.7 kB / 379.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.01024, allocations: 322.7 kB / 379.6 MB, free: 456 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.01033, allocations: 27.91 kB / 379.6 MB, free: 428 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.0104, allocations: 19.98 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.01056, allocations: 52.83 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01056, allocations: 4 kB / 379.7 MB, free: 348 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002285/0.01079, allocations: 89.61 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01081, allocations: 4 kB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01081, allocations: 0 / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.01083, allocations: 0 / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.0109, allocations: 20.17 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.01091, allocations: 0 / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.01096, allocations: 8 kB / 379.8 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01096, allocations: 0 / 379.8 MB, free: 220 kB / 346.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 0.0001187/0.01108, allocations: 129.8 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.01114, allocations: 11.91 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.01144, allocations: 94.12 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01144, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01144, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01145, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.01195, allocations: 306.1 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01195, allocations: 0 / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.01201, allocations: 15.98 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01201, allocations: 0 / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01202, allocations: 4 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.01202, allocations: 0 / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01203, allocations: 288 / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.01232, allocations: 187.3 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.01235, allocations: 15.94 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01236, allocations: 0 / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.01244, allocations: 7.984 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.01247, allocations: 4 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01248, allocations: 4 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.01261, allocations: 127.2 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 0 / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.01287, allocations: 23.92 kB / 380.7 MB, free: 15.23 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.001982/0.01485, allocations: 425.8 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.01509, allocations: 43.97 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01509, allocations: 7.938 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.01517, allocations: 27.98 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.01556, allocations: 27.86 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.01608, allocations: 204.8 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.01641, allocations: 75.33 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.01647, allocations: 19.97 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.01651, allocations: 24.48 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01651, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Templates: time 0.00439/0.0209, allocations: 1.178 MB / 382.8 MB, free: 13.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.824054170981981]