Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0009305/0.0009305, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.00198, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007396/0.0007396, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000901/0.001641, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.992/0.992, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.097, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.292/0.292, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0335/0.3255, allocations: 12.53 MB / 289.3 MB, free: 8.688 MB / 282.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.922e-05, allocations: 3.594 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002567/0.002586, allocations: 1.68 MB / 292.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003901/0.006487, allocations: 0.5547 MB / 292.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.006545, allocations: 0 / 292.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.006691, allocations: 25.12 kB / 292.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.006888, allocations: 76.38 kB / 293 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.007161, allocations: 113 kB / 293.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.007317, allocations: 67.56 kB / 293.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.007408, allocations: 14.72 kB / 293.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.007509, allocations: 50.03 kB / 293.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.007571, allocations: 17.02 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.007584, allocations: 0 / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.007668, allocations: 35.48 kB / 293.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.007705, allocations: 11.56 kB / 293.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.007735, allocations: 12.09 kB / 293.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.007882, allocations: 68.81 kB / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.837e-05/0.007901, allocations: 0 / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007901, allocations: 0 / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.007922, allocations: 4 kB / 293.3 MB, free: 5.566 MB / 282.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.0004161/0.008338, allocations: 296.8 kB / 293.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.008372, allocations: 12.03 kB / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.008401, allocations: 4.938 kB / 293.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.008543, allocations: 129.6 kB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.008552, allocations: 384 / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.008572, allocations: 8.375 kB / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.008665, allocations: 54.89 kB / 293.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.008674, allocations: 192 / 293.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.008685, allocations: 8.109 kB / 293.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.00869, allocations: 0 / 293.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.008715, allocations: 12 kB / 293.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.008932, allocations: 163.2 kB / 294 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.009074, allocations: 29.34 kB / 294 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.009091, allocations: 8.953 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.009108, allocations: 7.984 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.009132, allocations: 30.56 kB / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.009133, allocations: 0 / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003149/0.009448, allocations: 89.48 kB / 294.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.009481, allocations: 51.41 kB / 294.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.009583, allocations: 144.3 kB / 294.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.009594, allocations: 25.7 kB / 294.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.009633, allocations: 92.11 kB / 294.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.009659, allocations: 23.8 kB / 294.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.00969, allocations: 13.72 kB / 294.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.009793, allocations: 326.8 kB / 294.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.009807, allocations: 4 kB / 294.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.00982, allocations: 8 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.009862, allocations: 31.8 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.009863, allocations: 0 / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.843e-05/0.009931, allocations: 45.62 kB / 294.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.009945, allocations: 11.94 kB / 294.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.00995, allocations: 0 / 294.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.009958, allocations: 0 / 294.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.01002, allocations: 11.98 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01002, allocations: 4 kB / 295 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.01004, allocations: 4 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.01005, allocations: 0 / 295 MB, free: 3.785 MB / 282.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 6.702e-05/0.01012, allocations: 124.6 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.01014, allocations: 12.16 kB / 295.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.01024, allocations: 58.14 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01025, allocations: 3.984 kB / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01025, allocations: 0 / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01025, allocations: 0 / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.01048, allocations: 210.8 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01048, allocations: 3.938 kB / 295.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.01052, allocations: 12 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.01053, allocations: 11.94 kB / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01053, allocations: 0 / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.01054, allocations: 0 / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.01054, allocations: 192 / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.01054, allocations: 4 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.435e-05/0.01063, allocations: 147.5 kB / 295.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.01065, allocations: 4 kB / 295.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.01069, allocations: 3.984 kB / 295.5 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.01072, allocations: 4 kB / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.01072, allocations: 3.938 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.01076, allocations: 38.25 kB / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01076, allocations: 0 / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.01094, allocations: 15.92 kB / 295.6 MB, free: 3.082 MB / 282.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.004476/0.01542, allocations: 0.5454 MB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.0155, allocations: 20.8 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.01551, allocations: 0 / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.01553, allocations: 20.78 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01575, allocations: 46.66 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.01623, allocations: 167.2 kB / 296.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.01627, allocations: 63.34 kB / 296.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.535e-05/0.01631, allocations: 7.984 kB / 296.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.01636, allocations: 59.38 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01636, allocations: 0 / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Templates: time 0.006273/0.02264, allocations: 1.273 MB / 297.8 MB, free: 1.152 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.086282690986991]