Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.0008389/0.0008389, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.0021, 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.0007905/0.0007905, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009544/0.001745, 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09954/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2699/0.2699, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0252/0.2951, allocations: 13.09 MB / 291.3 MB, free: 7.379 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.105e-05, allocations: 4.734 kB / 292.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002372/0.002403, allocations: 1.737 MB / 294.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.004083, allocations: 1.348 MB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.004139, allocations: 0 / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.004266, allocations: 27.78 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.004455, allocations: 75.56 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.004735, allocations: 189.2 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.004869, allocations: 79.78 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.004961, allocations: 15.98 kB / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.00505, allocations: 55.83 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.005148, allocations: 27.91 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.005166, allocations: 8 kB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.00546, allocations: 99.73 kB / 296.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.005508, allocations: 15.94 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.005533, allocations: 12 kB / 296.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.005725, allocations: 131.5 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598e-05/0.005741, allocations: 7.984 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005743, allocations: 0 / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.005758, allocations: 0 / 296.5 MB, free: 2.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004656/0.006224, allocations: 321.1 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.00626, allocations: 12.03 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.006298, allocations: 8.938 kB / 296.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.006453, allocations: 133.6 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.006464, allocations: 384 / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.006488, allocations: 12.31 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.00664, allocations: 102.3 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.00665, allocations: 4.188 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.006661, allocations: 8.125 kB / 297.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006667, allocations: 0 / 297.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.006697, allocations: 7.984 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.006962, allocations: 183 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.007039, allocations: 30.64 kB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.007062, allocations: 12.86 kB / 297.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.007092, allocations: 96 / 297.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.007118, allocations: 42.48 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.00712, allocations: 4 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003589/0.007479, allocations: 101.5 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.007512, allocations: 55.41 kB / 297.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.007602, allocations: 136.4 kB / 297.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.007613, allocations: 25.7 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.007653, allocations: 104 kB / 297.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.007679, allocations: 19.84 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.007715, allocations: 21.7 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.007829, allocations: 318.8 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.007849, allocations: 11.92 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.007894, allocations: 47.42 kB / 298.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.007946, allocations: 31.66 kB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007948, allocations: 0 / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.367e-05/0.008041, allocations: 57.61 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.00806, allocations: 4 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.008066, allocations: 0 / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.00808, allocations: 0 / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.008188, allocations: 23.92 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.008193, allocations: 0 / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.008222, allocations: 11.98 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.008229, allocations: 4.031 kB / 298.3 MB, free: 456 kB / 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 (7): * Single equations (assignments): 7 * 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.861e-05/0.008308, allocations: 112.7 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.00833, allocations: 15.88 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.008464, allocations: 70.36 kB / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.008466, allocations: 4.281 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.008468, allocations: 0 / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008471, allocations: 0 / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.008737, allocations: 235 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.00874, allocations: 3.984 kB / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.008801, allocations: 23.98 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.008815, allocations: 7.953 kB / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.008819, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.008827, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008829, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.00883, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.008937, allocations: 159.4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.00895, allocations: 0 / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.008987, allocations: 7.984 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.009021, allocations: 4 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.009026, allocations: 8 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.009059, allocations: 39.62 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.00906, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.009236, allocations: 39.88 kB / 299 MB, free: 15.67 MB / 298.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 (7): * Single equations (assignments): 7 * 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.001488/0.01072, allocations: 0.6874 MB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.01084, allocations: 32.78 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.01085, allocations: 4 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.01087, allocations: 20.83 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.01109, allocations: 50.72 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.01171, allocations: 210.5 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.01211, allocations: 63.34 kB / 300.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.01217, allocations: 12.72 kB / 300.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.01225, allocations: 67.36 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01225, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of Templates: time 0.004176/0.01643, allocations: 2.187 MB / 302.3 MB, free: 12.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.8729341346770525]