Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001002/0.001002, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002362, 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.0008614/0.0008614, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002052, 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.9909/0.9909, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1213/1.112, 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.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.3128/0.3128, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0625/0.3753, allocations: 13.1 MB / 291.3 MB, free: 7.375 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.619e-05, allocations: 2.312 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003462/0.003488, allocations: 1.689 MB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004571, allocations: 0.5336 MB / 294.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.004648, allocations: 4 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.004827, allocations: 23.78 kB / 294.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.005095, allocations: 79.56 kB / 295 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.005454, allocations: 91.62 kB / 295.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.005628, allocations: 67.78 kB / 295.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.005722, allocations: 11.97 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005828, allocations: 51.91 kB / 295.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.005929, allocations: 15.92 kB / 295.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.005946, allocations: 4 kB / 295.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.006038, allocations: 35.86 kB / 295.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.006086, allocations: 19.92 kB / 295.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.006116, allocations: 7.938 kB / 295.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.006272, allocations: 67.75 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.685e-05/0.006288, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006289, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.006306, allocations: 0 / 295.3 MB, free: 3.578 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.0007149/0.007021, allocations: 297.3 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.007059, allocations: 12.03 kB / 295.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.007091, allocations: 4.938 kB / 295.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.00725, allocations: 137.6 kB / 295.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.007258, allocations: 4.312 kB / 295.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.007277, allocations: 4.375 kB / 295.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.007381, allocations: 54.95 kB / 295.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.00739, allocations: 192 / 295.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.007399, allocations: 4.125 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007404, allocations: 0 / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.007432, allocations: 7.984 kB / 295.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.007674, allocations: 175 kB / 296 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.007844, allocations: 26.56 kB / 296 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.007864, allocations: 12.86 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.007882, allocations: 0 / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.007907, allocations: 34.62 kB / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.007908, allocations: 0 / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003314/0.008239, allocations: 81.62 kB / 296.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.008277, allocations: 51.41 kB / 296.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.008405, allocations: 160.2 kB / 296.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.008421, allocations: 25.7 kB / 296.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.008458, allocations: 92.12 kB / 296.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.008487, allocations: 19.83 kB / 296.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.008528, allocations: 17.72 kB / 296.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.008652, allocations: 322.8 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.008666, allocations: 0 / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.008687, allocations: 7.938 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.008732, allocations: 24.83 kB / 296.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.008733, allocations: 0 / 296.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.818e-05/0.008821, allocations: 49.62 kB / 296.9 MB, free: 1.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.008837, allocations: 8 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.008842, allocations: 4 kB / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.008852, allocations: 0 / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.00893, allocations: 11.98 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.008936, allocations: 4 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.008959, allocations: 0 / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.008965, allocations: 0 / 297 MB, free: 1.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 7.325e-05/0.009038, allocations: 116.6 kB / 297.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.009068, allocations: 12.2 kB / 297.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.009199, allocations: 62.08 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.009204, allocations: 3.984 kB / 297.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.009208, allocations: 8 kB / 297.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.00921, allocations: 0 / 297.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.009491, allocations: 219 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.009493, allocations: 0 / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.009557, allocations: 8 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.00957, allocations: 7.953 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.009574, allocations: 0 / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.009586, allocations: 3.984 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.009589, allocations: 0 / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.009591, allocations: 4 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.009717, allocations: 151.4 kB / 297.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.009732, allocations: 4 kB / 297.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.00979, allocations: 0 / 297.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.009819, allocations: 7.984 kB / 297.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.009825, allocations: 0 / 297.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.396e-05/0.009879, allocations: 41.16 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009879, allocations: 0 / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.0101, allocations: 19.94 kB / 297.6 MB, free: 1.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.001823/0.01192, allocations: 0.5459 MB / 298.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.01201, allocations: 28.8 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.01202, allocations: 0 / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.01204, allocations: 20.78 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01228, allocations: 23.98 kB / 298.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.0128, allocations: 175.1 kB / 298.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.01285, allocations: 59.34 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.01289, allocations: 15.98 kB / 298.5 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.01296, allocations: 59.38 kB / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01296, allocations: 3.938 kB / 298.5 MB, free: 412 kB / 282.7 MB Notification: Performance of Templates: time 0.004133/0.01709, allocations: 1.27 MB / 299.8 MB, free: 15.15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9620290463790298]