Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.002387/0.002387, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002781/0.002781, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.633/1.633, allocations: 177.2 MB / 204.6 MB, free: 5.555 MB / 186.7 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.4046/0.4046, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.21e-06, allocations: 3.984 kB / 375.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.497e-05, allocations: 2.312 kB / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.004107/0.004142, allocations: 1.619 MB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.005612, allocations: 0.5258 MB / 377.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.005665, allocations: 0 / 377.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008851/0.00655, allocations: 451 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006729/0.007223, allocations: 295.2 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.007645, allocations: 123.6 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.007975, allocations: 167.6 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.008069, allocations: 12.19 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.008287, allocations: 115.8 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.008682, allocations: 235.6 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.008724, allocations: 4 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.008831, allocations: 31.92 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.008979, allocations: 79.7 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.009058, allocations: 39.73 kB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.009487, allocations: 223.1 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.009494, allocations: 8 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.009495, allocations: 0 / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.009501, allocations: 0 / 379.2 MB, free: 1.02 MB / 346.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.001149/0.01065, allocations: 0.6968 MB / 379.9 MB, free: 292 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.01069, allocations: 8.031 kB / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.0108, allocations: 44.66 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.01123, allocations: 249 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.01124, allocations: 384 / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.01125, allocations: 4.375 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.0114, allocations: 50.19 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.01141, allocations: 4.188 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.01142, allocations: 3.938 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.01142, allocations: 0 / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.462e-05/0.01152, allocations: 23.92 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.01257, allocations: 443.8 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.01269, allocations: 38.94 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.01275, allocations: 19.73 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.01278, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.01282, allocations: 33.39 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.01282, allocations: 4 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003397/0.01316, allocations: 89.41 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.01322, allocations: 63.34 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.01436, allocations: 0.6667 MB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.01438, allocations: 25.7 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.01477, allocations: 302.8 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.0148, allocations: 7.953 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.01486, allocations: 19.38 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004743/0.01533, allocations: 0.5665 MB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.01538, allocations: 8.109 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.01542, allocations: 12 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.01551, allocations: 23.67 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01551, allocations: 0 / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002136/0.01572, allocations: 89.36 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01574, allocations: 13.8 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01575, allocations: 0 / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01576, allocations: 0 / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.01584, allocations: 4 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01585, allocations: 4.094 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.01592, allocations: 11.95 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.01592, allocations: 0 / 382.7 MB, free: 13.31 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 (2): * Single equations (assignments): 2 * 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.000165/0.01609, allocations: 156.6 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.01618, allocations: 43.66 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.01645, allocations: 88.73 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01645, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.01645, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01646, allocations: 3.984 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.01703, allocations: 316.6 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.01703, allocations: 3.984 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.01708, allocations: 11.88 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.01709, allocations: 7.922 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.0171, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.0171, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0171, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.01742, allocations: 231.7 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.0175, allocations: 39.66 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.01753, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.01763, allocations: 8.016 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.01766, allocations: 8 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.01766, allocations: 0 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006832/0.01834, allocations: 442.8 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01834, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003892/0.01873, allocations: 15.94 kB / 384 MB, free: 11.89 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 (2): * Single equations (assignments): 2 * 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.002653/0.02139, allocations: 369 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.02153, allocations: 27.62 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02153, allocations: 0 / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.628e-05/0.02158, allocations: 19.67 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.02195, allocations: 25.95 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.02291, allocations: 0.5614 MB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.02316, allocations: 203.5 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.0232, allocations: 7.984 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.02323, allocations: 16.42 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02324, allocations: 0 / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of Templates: time 0.004938/0.02817, allocations: 1.107 MB / 386.3 MB, free: 9.664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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: 5.035097876912914]