Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001182/0.001182, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002747, 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.001008/0.001008, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002361, 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 1.049/1.049, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1146/1.163, allocations: 53.65 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.3546/0.3546, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03258/0.3872, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.88e-05, allocations: 4.203 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002754/0.002793, allocations: 1.678 MB / 292.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.003705, allocations: 0.5447 MB / 292.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.003787, allocations: 0 / 292.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.003999, allocations: 30.09 kB / 292.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.004284, allocations: 73.88 kB / 292.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.004642, allocations: 100.5 kB / 293 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.004843, allocations: 57.72 kB / 293.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004946, allocations: 14.27 kB / 293.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.005051, allocations: 54.83 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.005119, allocations: 5.906 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.005138, allocations: 4.094 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.005236, allocations: 35.23 kB / 293.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.005281, allocations: 11.47 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.005313, allocations: 9.875 kB / 293.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.005506, allocations: 77.08 kB / 293.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-05/0.005526, allocations: 0 / 293.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.005527, allocations: 4 kB / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.005542, allocations: 0 / 293.3 MB, free: 5.582 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.0004787/0.006021, allocations: 300.7 kB / 293.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006059, allocations: 12.03 kB / 293.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.006102, allocations: 12.92 kB / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.006273, allocations: 125.7 kB / 293.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.006285, allocations: 384 / 293.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.006308, allocations: 12.27 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.006431, allocations: 50.95 kB / 293.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.006441, allocations: 192 / 293.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.006451, allocations: 8.125 kB / 293.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.006459, allocations: 4 kB / 293.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.006481, allocations: 4 kB / 293.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.006742, allocations: 167.1 kB / 294 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.006924, allocations: 30.61 kB / 294 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.006942, allocations: 8.844 kB / 294 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.006969, allocations: 7.984 kB / 294 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.006996, allocations: 30.56 kB / 294.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006998, allocations: 0 / 294.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003455/0.007343, allocations: 89.48 kB / 294.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.00738, allocations: 51.41 kB / 294.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.007487, allocations: 156.8 kB / 294.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.007499, allocations: 25.7 kB / 294.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.007548, allocations: 88.12 kB / 294.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.007589, allocations: 23.83 kB / 294.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.007628, allocations: 17.7 kB / 294.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007739, allocations: 314.8 kB / 294.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.007756, allocations: 7.938 kB / 294.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.007772, allocations: 7.984 kB / 294.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.007817, allocations: 28.97 kB / 294.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007819, allocations: 4 kB / 294.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.588e-05/0.007905, allocations: 49.62 kB / 294.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.007925, allocations: 4 kB / 294.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.007934, allocations: 4 kB / 294.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.007949, allocations: 0 / 294.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.008028, allocations: 11.98 kB / 294.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008032, allocations: 0 / 294.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.008054, allocations: 4 kB / 294.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.008062, allocations: 0 / 294.9 MB, free: 3.797 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 8.043e-05/0.008142, allocations: 120.6 kB / 295.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.008161, allocations: 11.94 kB / 295.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.008297, allocations: 58.14 kB / 295.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.008301, allocations: 0 / 295.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.008302, allocations: 0 / 295.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.008307, allocations: 3.984 kB / 295.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.008586, allocations: 222.7 kB / 295.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008588, allocations: 0 / 295.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.008648, allocations: 11.98 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.008659, allocations: 7.953 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008661, allocations: 0 / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.008667, allocations: 4 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008668, allocations: 192 / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.00867, allocations: 0 / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.008772, allocations: 151.5 kB / 295.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.008785, allocations: 8 kB / 295.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.075e-05/0.008816, allocations: 0 / 295.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.008848, allocations: 11.92 kB / 295.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.008851, allocations: 0 / 295.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.008888, allocations: 27.67 kB / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008888, allocations: 0 / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.009038, allocations: 16 kB / 295.6 MB, free: 3.094 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.001382/0.01042, allocations: 0.5528 MB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.01052, allocations: 24.78 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/0.01053, allocations: 4 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.01055, allocations: 12.8 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01077, allocations: 31.17 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.01133, allocations: 183.1 kB / 296.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.177e-05/0.01138, allocations: 67.34 kB / 296.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.893e-05/0.01142, 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 6.934e-05/0.01149, allocations: 59.36 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01149, allocations: 0 / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Templates: time 0.003611/0.0151, allocations: 1.262 MB / 297.8 MB, free: 1.164 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.2071117125451565]