Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001003/0.001003, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001437/0.001437, allocations: 165 kB / 24.56 MB, free: 16 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 0.9155/0.9155, allocations: 177.2 MB / 205 MB, free: 5.309 MB / 186.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.261/0.261, allocations: 32.8 MB / 294.3 MB, free: 1.23 MB / 266.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.396e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004174/0.004208, allocations: 2.053 MB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.006177, allocations: 1.113 MB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.006345, allocations: 4 kB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.006916, allocations: 270.9 kB / 379.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.007541, allocations: 266.9 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.00891, allocations: 0.6391 MB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.009427, allocations: 359.1 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.009612, allocations: 56.88 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.009862, allocations: 183.4 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.01013, allocations: 199.6 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.01017, allocations: 12 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.01041, allocations: 111.8 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01054, allocations: 95.62 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.01061, allocations: 59.66 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.01102, allocations: 286.7 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.01103, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01103, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.01104, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007744/0.01181, allocations: 0.7048 MB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.01186, allocations: 16.02 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.01196, allocations: 52.66 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.01231, allocations: 274.7 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.01232, allocations: 4.375 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.01236, allocations: 16.36 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.01258, allocations: 98.91 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.0126, allocations: 8.188 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.01261, allocations: 4.125 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.01263, allocations: 4 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.01272, allocations: 40.56 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.01337, allocations: 491.2 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.01352, allocations: 71.05 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.01356, allocations: 27.67 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01359, allocations: 224 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.01361, allocations: 41.33 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.01361, allocations: 0 / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007618/0.01437, allocations: 328.3 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.01441, allocations: 51.41 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.01514, allocations: 498.7 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01516, allocations: 29.7 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.01532, allocations: 271.2 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.01537, allocations: 59.47 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.01542, allocations: 39.36 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.01559, allocations: 0.5313 MB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.01565, allocations: 31.89 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.0157, allocations: 36.48 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.01582, allocations: 77.7 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01583, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002237/0.01605, allocations: 159.5 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01607, allocations: 7.938 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01607, allocations: 0 / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.01609, allocations: 4 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.01624, allocations: 39.91 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01625, allocations: 0 / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.0163, allocations: 12 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.01631, allocations: 4 kB / 385.7 MB, free: 10.8 MB / 362.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 (17): * Single equations (assignments): 17 * 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.0001032/0.01641, allocations: 160.6 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.01649, allocations: 51.7 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.01682, allocations: 189.6 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01682, allocations: 4 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01683, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01683, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.01748, allocations: 0.5701 MB / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01748, allocations: 0 / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.01759, allocations: 31.97 kB / 386.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01759, allocations: 0 / 386.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.0176, allocations: 8 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01761, allocations: 0 / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01761, allocations: 0 / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.01789, allocations: 323.3 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.01792, allocations: 35.72 kB / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.01795, allocations: 4 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.01804, allocations: 4 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.01808, allocations: 15.97 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.0181, allocations: 12 kB / 387.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.01838, allocations: 327 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.01838, allocations: 3.938 kB / 387.4 MB, free: 9.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000336/0.01872, allocations: 47.94 kB / 387.4 MB, free: 8.961 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 (17): * Single equations (assignments): 17 * 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.001412/0.02013, allocations: 0.6591 MB / 388.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.02028, allocations: 91.55 kB / 388.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02029, allocations: 0 / 388.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.405e-05/0.02034, allocations: 59.59 kB / 388.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.02065, allocations: 92.16 kB / 388.3 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.02129, allocations: 0.5962 MB / 388.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/0.02136, allocations: 120.2 kB / 389 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.527e-05/0.02144, allocations: 53.89 kB / 389.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.02149, allocations: 32.48 kB / 389.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02149, allocations: 0 / 389.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of Templates: time 0.006162/0.02765, allocations: 3.746 MB / 392.9 MB, free: 3.797 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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.971955922897905]