Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001528/0.001528, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001866/0.001866, allocations: 206.7 kB / 23.73 MB, free: 4.398 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.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.242/0.242, allocations: 46.95 MB / 360.9 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00313/0.00313, allocations: 71.88 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3208, allocations: 66.05 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003407/0.3242, allocations: 1.597 MB / 0.5627 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3253, allocations: 0.5144 MB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.3253, allocations: 0 / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.326, allocations: 459.1 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.3266, allocations: 295.3 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.3269, allocations: 123 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3272, allocations: 167.6 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3273, allocations: 8.188 kB / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3275, allocations: 115.7 kB / 0.5643 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.3278, allocations: 239.5 kB / 0.5645 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3278, allocations: 4 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.3279, allocations: 20 kB / 0.5645 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.328, allocations: 83.67 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.3281, allocations: 67.25 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.3284, allocations: 257 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3285, allocations: 8 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3285, allocations: 0 / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3285, allocations: 0 / 0.5649 GB, free: 264 kB / 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.0008414/0.3293, allocations: 0.57 MB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3293, allocations: 8.031 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.3294, allocations: 40.66 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3297, allocations: 242.7 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3298, allocations: 4.312 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.3298, allocations: 4.375 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3299, allocations: 58.53 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.33, allocations: 4 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.33, allocations: 0 / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.33, allocations: 4 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.3301, allocations: 19.98 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.3305, allocations: 312.5 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3306, allocations: 38.5 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.3307, allocations: 12.86 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3307, allocations: 4 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3307, allocations: 30.56 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3307, allocations: 4 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002852/0.331, allocations: 101.4 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.3311, allocations: 51.41 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.332, allocations: 0.8574 MB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.332, allocations: 25.7 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.3322, allocations: 216 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.3322, allocations: 15.88 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3323, allocations: 13.7 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3325, allocations: 366.7 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.3325, allocations: 16.11 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.3325, allocations: 4 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.3326, allocations: 24.84 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3326, allocations: 0 / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001559/0.3328, allocations: 89.41 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3328, allocations: 4 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3328, allocations: 0 / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3328, allocations: 8.094 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.3329, allocations: 7.984 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3329, allocations: 3.938 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.3329, allocations: 0 / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3329, allocations: 4 kB / 0.568 GB, free: 12.95 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 (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.0002018/0.3331, allocations: 217.7 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.3332, allocations: 39.72 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.3334, allocations: 100.7 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3334, allocations: 0 / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3334, allocations: 8.031 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3334, allocations: 3.984 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.3337, allocations: 229.2 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3337, allocations: 0 / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.3337, allocations: 7.984 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3337, allocations: 7.938 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3337, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3337, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3337, allocations: 7.875 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.334, allocations: 191.2 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.334, allocations: 35.72 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.334, allocations: 3.984 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.3341, allocations: 0 / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.3341, allocations: 4 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3341, allocations: 0 / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006738/0.3348, allocations: 0.6472 MB / 0.5694 GB, free: 11.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3348, allocations: 0 / 0.5694 GB, free: 11.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3351, allocations: 23.98 kB / 0.5694 GB, free: 11.38 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 (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.001388/0.3365, allocations: 358.6 kB / 0.5698 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.3366, allocations: 27.92 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3366, allocations: 0 / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.3366, allocations: 12.05 kB / 0.5698 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.337, allocations: 36.58 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3382, allocations: 0.7827 MB / 0.5706 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3385, allocations: 215.5 kB / 0.5708 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.3385, allocations: 7.984 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.3385, allocations: 7.438 kB / 0.5708 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3385, allocations: 4 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005218/0.3438, allocations: 1.435 MB / 0.5723 GB, free: 8.617 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1945273242890835]