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.001838/0.001838, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002385/0.002385, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.2234/0.2234, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.88 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 65.47 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003156/0.3229, allocations: 1.61 MB / 0.559 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3239, allocations: 0.5183 MB / 0.5595 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.324, allocations: 3.938 kB / 0.5595 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.3246, allocations: 459.1 kB / 0.56 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.3251, allocations: 287.3 kB / 0.5603 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.3254, allocations: 130.8 kB / 0.5604 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3257, allocations: 171.6 kB / 0.5605 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.3258, allocations: 7.984 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3259, allocations: 115.7 kB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.3262, allocations: 243.5 kB / 0.5609 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3262, allocations: 4 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.3263, allocations: 23.98 kB / 0.5609 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3264, allocations: 83.69 kB / 0.561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.3265, allocations: 63.25 kB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.3268, allocations: 273 kB / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3268, allocations: 0 / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3268, allocations: 0 / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3268, allocations: 8 kB / 0.5613 GB, free: 3.484 MB / 398.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.0008051/0.3276, allocations: 0.566 MB / 0.5619 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3277, allocations: 12.03 kB / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.3277, allocations: 40.66 kB / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.328, allocations: 246.8 kB / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3281, allocations: 384 / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.3281, allocations: 384 / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3282, allocations: 62.72 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3283, allocations: 0 / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3283, allocations: 4 kB / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3283, allocations: 4 kB / 0.5622 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3284, allocations: 31.97 kB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.3289, allocations: 320.4 kB / 0.5626 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.329, allocations: 46.48 kB / 0.5626 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.3291, allocations: 20.94 kB / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3291, allocations: 0 / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3291, allocations: 38.5 kB / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3291, allocations: 4 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003434/0.3295, allocations: 117.4 kB / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3295, allocations: 51.41 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3305, allocations: 0.8652 MB / 0.5637 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3305, allocations: 25.7 kB / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3307, allocations: 212.1 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.3308, allocations: 15.88 kB / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3308, allocations: 9.719 kB / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.331, allocations: 366.7 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.3311, allocations: 19.98 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.3311, allocations: 12.17 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3312, allocations: 48.84 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3312, allocations: 0 / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002053/0.3314, allocations: 113.3 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3315, allocations: 6.969 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3315, allocations: 8 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3315, allocations: 0 / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.3316, allocations: 4 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3316, allocations: 7.938 kB / 0.5645 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.3316, allocations: 3.984 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3316, allocations: 4 kB / 0.5645 GB, free: 60 kB / 398.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.0002158/0.3318, allocations: 213.7 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.3319, allocations: 43.7 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.3322, allocations: 121.1 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3322, allocations: 0 / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3322, allocations: 0 / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3322, allocations: 0 / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3324, allocations: 237.1 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3324, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.3325, allocations: 11.98 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3325, allocations: 0 / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3325, allocations: 0 / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3325, allocations: 3.938 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3325, allocations: 0 / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3328, allocations: 211.2 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.3328, allocations: 31.72 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3329, allocations: 0 / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.3329, allocations: 11.98 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.333, allocations: 4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.333, allocations: 0 / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007295/0.3337, allocations: 0.6472 MB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3337, allocations: 3.938 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.334, allocations: 27.86 kB / 0.566 GB, free: 14.44 MB / 414.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.001435/0.3354, allocations: 374 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3356, allocations: 39.89 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3356, allocations: 4 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.3357, allocations: 15.98 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3361, allocations: 33.41 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3374, allocations: 0.7906 MB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3377, allocations: 216.1 kB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.02e-05/0.3377, allocations: 11.73 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.3378, allocations: 15.44 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3378, allocations: 0 / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Templates: time 0.00514/0.3429, allocations: 1.472 MB / 0.5689 GB, free: 11.59 MB / 414.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: 5.204106193035841]