Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.00178/0.00178, allocations: 85.17 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.002061/0.002061, allocations: 164.2 kB / 23.95 MB, free: 4.16 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.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.1988/0.1988, allocations: 32.81 MB / 293.5 MB, free: 40 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.088e-05, allocations: 5.656 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003053/0.003083, allocations: 1.642 MB / 441.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.004337, allocations: 0.5647 MB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.004403, allocations: 0 / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.005099, allocations: 451 kB / 442.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.005595, allocations: 299.2 kB / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.006016, allocations: 176.6 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.006273, allocations: 175.6 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.006444, allocations: 15.97 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.006593, allocations: 123.7 kB / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.00687, allocations: 235.7 kB / 443.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.006896, allocations: 7.938 kB / 443.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.006989, allocations: 35.86 kB / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.00715, allocations: 95.62 kB / 443.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.00721, allocations: 35.75 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.007569, allocations: 243.1 kB / 444.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.007572, allocations: 0 / 444.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007573, allocations: 0 / 444.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.007583, allocations: 0 / 444.2 MB, free: 4.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008325/0.008415, allocations: 0.5737 MB / 444.7 MB, free: 3.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.00845, allocations: 8.031 kB / 444.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.008516, allocations: 48.64 kB / 444.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.008814, allocations: 246 kB / 445 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.008821, allocations: 384 / 445 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.008849, allocations: 4.375 kB / 445 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.009006, allocations: 62.23 kB / 445.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.009017, allocations: 192 / 445.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.009029, allocations: 4.125 kB / 445.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.009033, allocations: 0 / 445.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.009138, allocations: 31.97 kB / 445.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.009637, allocations: 332.4 kB / 445.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.009856, allocations: 50.48 kB / 445.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.00991, allocations: 12.86 kB / 445.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.009931, allocations: 8 kB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.009958, allocations: 34.56 kB / 445.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.009959, allocations: 0 / 445.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006983/0.01066, allocations: 240.8 kB / 445.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.01074, allocations: 51.41 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.01167, allocations: 0.8574 MB / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.01169, allocations: 33.7 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.01188, allocations: 216 kB / 447 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.01191, allocations: 23.92 kB / 447 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.01194, allocations: 13.72 kB / 447 MB, free: 1.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.01213, allocations: 366.8 kB / 447.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.01222, allocations: 19.98 kB / 447.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.0123, allocations: 23.92 kB / 447.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.01245, allocations: 56.77 kB / 447.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.01246, allocations: 0 / 447.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002367/0.01269, allocations: 129.3 kB / 447.6 MB, free: 500 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01271, allocations: 4 kB / 447.6 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01271, allocations: 0 / 447.6 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.01273, allocations: 4 kB / 447.6 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.01279, allocations: 12.23 kB / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.0128, allocations: 7.922 kB / 447.6 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.01289, allocations: 8 kB / 447.6 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.01289, allocations: 3.938 kB / 447.6 MB, free: 460 kB / 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 (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 0.0002112/0.0131, allocations: 222.4 kB / 447.8 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.01316, allocations: 43.72 kB / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.01347, allocations: 141.2 kB / 448 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01347, allocations: 0 / 448 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01348, allocations: 0 / 448 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01348, allocations: 0 / 448 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1781/0.1916, allocations: 410 kB / 448.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1916, allocations: 0 / 448.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.1916, allocations: 15.75 kB / 448.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.1916, allocations: 1.906 kB / 448.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1916, allocations: 5.156 kB / 448.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1916, allocations: 0.6094 kB / 448.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1917, allocations: 1.078 kB / 448.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1919, allocations: 225.6 kB / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1919, allocations: 33.3 kB / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.192, allocations: 1.938 kB / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.1921, allocations: 10.22 kB / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1921, allocations: 3.125 kB / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.1921, allocations: 2.125 kB / 448.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005922/0.1927, allocations: 0.6509 MB / 449.4 MB, free: 21.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 1.062 kB / 449.4 MB, free: 21.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.193, allocations: 30.88 kB / 449.4 MB, free: 21.18 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 (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.001541/0.1945, allocations: 427.9 kB / 449.8 MB, free: 21.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1947, allocations: 61.94 kB / 449.9 MB, free: 21.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1947, allocations: 1.219 kB / 449.9 MB, free: 21.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.1948, allocations: 25.41 kB / 449.9 MB, free: 21.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1952, allocations: 30.22 kB / 449.9 MB, free: 21.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1962, allocations: 0.8164 MB / 450.7 MB, free: 20.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1964, allocations: 224.1 kB / 451 MB, free: 20.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.1965, allocations: 21.88 kB / 451 MB, free: 20.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1965, allocations: 12.25 kB / 451 MB, free: 20.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1965, allocations: 0 / 451 MB, free: 20.57 MB / 366.1 MB Notification: Performance of Templates: time 0.004825/0.2013, allocations: 1.349 MB / 452.3 MB, free: 20.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.622983727604151]