Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001384/0.001384, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001479/0.001479, allocations: 209 kB / 24.48 MB, free: 3.938 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 63.91 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3384, allocations: 66.02 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003097/0.3415, allocations: 1.648 MB / 0.5634 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3426, allocations: 0.5271 MB / 0.564 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.3427, allocations: 0 / 0.564 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.3429, allocations: 99.67 kB / 0.5641 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3432, allocations: 111.6 kB / 0.5642 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.3435, allocations: 99.69 kB / 0.5643 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3437, allocations: 95.73 kB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3438, allocations: 30.59 kB / 0.5644 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.3438, allocations: 47.77 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.344, allocations: 67.8 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.344, allocations: 4 kB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.3441, allocations: 47.98 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.3441, allocations: 23.86 kB / 0.5646 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.3442, allocations: 31.8 kB / 0.5646 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.3444, allocations: 131 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3444, allocations: 0 / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3444, allocations: 4 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3444, allocations: 0 / 0.5647 GB, free: 1.23 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005112/0.3449, allocations: 361.5 kB / 0.5651 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.345, allocations: 8.031 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.345, allocations: 12.84 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3452, allocations: 154.2 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3452, allocations: 12.31 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3452, allocations: 4.375 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3454, allocations: 73.78 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3454, allocations: 7.891 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3455, allocations: 0 / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3455, allocations: 0 / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3456, allocations: 43.97 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.346, allocations: 264.4 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3461, allocations: 66.55 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.3462, allocations: 20.84 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3462, allocations: 0 / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3462, allocations: 34.56 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3462, allocations: 0 / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001049/0.3473, allocations: 325.5 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3473, allocations: 55.34 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3476, allocations: 235.6 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3476, allocations: 25.7 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.3477, allocations: 116 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.3477, allocations: 43.64 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.3477, allocations: 29.72 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3479, allocations: 330.8 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.348, allocations: 35.98 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.3481, allocations: 35.97 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.3483, allocations: 84.94 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3483, allocations: 3.938 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000274/0.3486, allocations: 145.5 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3486, allocations: 4 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3486, allocations: 3.938 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3486, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3487, allocations: 27.98 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3487, allocations: 7.938 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.3488, allocations: 7.984 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3488, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001145/0.3489, allocations: 138.3 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3489, allocations: 11.91 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.3493, allocations: 167.1 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3493, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3493, allocations: 3.938 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3493, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.3499, allocations: 402.8 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3499, allocations: 7.922 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.35, allocations: 28.02 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.35, allocations: 7.938 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3501, allocations: 4 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3501, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.3501, allocations: 7.984 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.3504, allocations: 244 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.3504, allocations: 19.83 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3504, allocations: 0 / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.3505, allocations: 12 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3505, allocations: 11.98 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3506, allocations: 4 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.3507, allocations: 185.1 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3507, allocations: 0 / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.351, allocations: 27.94 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.00187/0.3529, allocations: 0.4898 MB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3531, allocations: 91.89 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3531, allocations: 0 / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3533, allocations: 51.91 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3536, allocations: 31.59 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.3542, allocations: 337.5 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3544, allocations: 113.5 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.3544, allocations: 19.44 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3544, allocations: 0 / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.004215/0.3586, allocations: 2.113 MB / 0.5716 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 7.773412660695612]