Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001323/0.001323, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00152/0.00152, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2008/0.2008, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.946e-05, allocations: 2.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002744/0.002773, allocations: 1.608 MB / 441.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003813, allocations: 0.5258 MB / 442.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.003855, allocations: 0 / 442.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.004482, allocations: 451.1 kB / 442.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.004957, allocations: 299.1 kB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.005266, allocations: 130.8 kB / 443.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.005498, allocations: 175.6 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.005578, allocations: 4 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.005739, allocations: 119.8 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.006007, allocations: 239.6 kB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.006031, allocations: 4 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.237e-05/0.006093, allocations: 16 kB / 443.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.006199, allocations: 87.7 kB / 443.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.006251, allocations: 39.73 kB / 443.8 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.006548, allocations: 243 kB / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006551, allocations: 0 / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006552, allocations: 3.938 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.006556, allocations: 0 / 444 MB, free: 4.215 MB / 366.1 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.0007279/0.007284, allocations: 0.5699 MB / 444.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.007317, allocations: 8.031 kB / 444.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.007382, allocations: 44.66 kB / 444.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.007654, allocations: 238 kB / 444.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.007667, allocations: 4.375 kB / 444.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.007675, allocations: 384 / 444.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.00784, allocations: 58.17 kB / 444.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.007848, allocations: 192 / 444.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.007858, allocations: 8.125 kB / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.007862, allocations: 0 / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.00799, allocations: 31.97 kB / 445 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.008418, allocations: 320.5 kB / 445.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.008539, allocations: 38.5 kB / 445.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.008619, allocations: 28.94 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.00864, allocations: 3.938 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.008668, allocations: 30.56 kB / 445.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.008669, allocations: 0 / 445.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003327/0.009002, allocations: 117.4 kB / 445.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.00906, allocations: 55.41 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.009943, allocations: 0.8652 MB / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.009968, allocations: 25.7 kB / 446.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.01014, allocations: 220 kB / 446.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.01017, allocations: 7.953 kB / 446.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.01021, allocations: 17.66 kB / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.01038, allocations: 362.7 kB / 447 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.01045, allocations: 15.98 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.96e-05/0.01051, allocations: 16.17 kB / 447.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.01063, allocations: 40.91 kB / 447.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01063, allocations: 0 / 447.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000213/0.01085, allocations: 117.3 kB / 447.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01086, allocations: 4 kB / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01087, allocations: 0 / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01088, allocations: 0 / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.01096, allocations: 11.94 kB / 447.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01097, allocations: 3.984 kB / 447.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.01102, allocations: 4 kB / 447.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.01103, allocations: 0 / 447.2 MB, free: 0.8047 MB / 366.1 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 (3): * Single equations (assignments): 3 * 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.0002017/0.01123, allocations: 214.4 kB / 447.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.0113, allocations: 55.61 kB / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.01156, allocations: 121.1 kB / 447.6 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01156, allocations: 3.938 kB / 447.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01157, allocations: 0 / 447.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01157, allocations: 0 / 447.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.01182, allocations: 229.2 kB / 447.9 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.01182, allocations: 0 / 447.9 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.01188, allocations: 11.98 kB / 447.9 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.01189, allocations: 11.94 kB / 447.9 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01189, allocations: 0 / 447.9 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.0119, allocations: 0 / 447.9 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0119, allocations: 3.938 kB / 447.9 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1698/0.1817, allocations: 197.8 kB / 448.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1818, allocations: 37.22 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.1818, allocations: 4.875 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1819, allocations: 4.266 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.1819, allocations: 2.453 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.182, allocations: 4.875 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007105/0.1827, allocations: 0.6535 MB / 448.8 MB, free: 21.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1827, allocations: 0 / 448.8 MB, free: 21.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.183, allocations: 20.34 kB / 448.8 MB, free: 21.59 MB / 366.1 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 (3): * Single equations (assignments): 3 * 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.001345/0.1844, allocations: 370.2 kB / 449.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1846, allocations: 37.91 kB / 449.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1846, allocations: 0 / 449.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.1846, allocations: 20.66 kB / 449.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.185, allocations: 29.88 kB / 449.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1861, allocations: 0.8002 MB / 450 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1863, allocations: 210.3 kB / 450.3 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.918e-05/0.1863, allocations: 11.42 kB / 450.3 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.1863, allocations: 17.92 kB / 450.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1863, allocations: 0 / 450.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004857/0.1912, allocations: 1.139 MB / 451.4 MB, free: 20.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.550655759871006]