Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.001334/0.001334, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001419/0.001419, allocations: 214.1 kB / 23.75 MB, free: 4.668 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: 230.6 MB / 257.5 MB, free: 8 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.2295/0.2295, allocations: 46.93 MB / 360.9 MB, free: 4.352 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 66.03 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003028/0.3263, allocations: 1.687 MB / 0.5623 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3282, allocations: 1.275 MB / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.3282, allocations: 0 / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3284, allocations: 19.86 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.3287, allocations: 87.61 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.329, allocations: 135.4 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3291, allocations: 67.78 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.3292, allocations: 21.81 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.3293, allocations: 35.78 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3294, allocations: 35.86 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3294, allocations: 4 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3296, allocations: 99.92 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.3297, allocations: 27.84 kB / 0.5641 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.3297, allocations: 27.81 kB / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.33, allocations: 151.4 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.33, allocations: 0 / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.33, allocations: 4 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.33, allocations: 0 / 0.5642 GB, free: 0.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005548/0.3306, allocations: 345.6 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3306, allocations: 8.031 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.3306, allocations: 30.75 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.3307, allocations: 8.891 kB / 0.5646 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3309, allocations: 145 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.3309, allocations: 4.359 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.3309, allocations: 12.33 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3311, allocations: 79.3 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3311, allocations: 4 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3311, allocations: 4 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3311, allocations: 0 / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3313, allocations: 35.91 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.3317, allocations: 263.9 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3318, allocations: 42.56 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.3319, allocations: 24.94 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.3319, allocations: 3.938 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3319, allocations: 30.56 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3319, allocations: 7.875 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007466/0.3327, allocations: 221.6 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3327, allocations: 81.05 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3329, allocations: 152 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3329, allocations: 29.7 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.333, allocations: 96.2 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.333, allocations: 35.72 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.3331, allocations: 21.72 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3332, allocations: 322.8 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3333, allocations: 27.97 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3334, allocations: 49.69 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3336, allocations: 72.84 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3336, allocations: 0 / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002771/0.3339, allocations: 117.5 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3339, allocations: 4 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3339, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.334, allocations: 4 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3341, allocations: 23.97 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3341, allocations: 0 / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.3342, allocations: 15.92 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3342, allocations: 4 kB / 0.5665 GB, free: 14.3 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 (7): * Single equations (assignments): 7 * 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.0001152/0.3343, allocations: 113.8 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3343, allocations: 11.95 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.3347, allocations: 126.3 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.3347, allocations: 4 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3347, allocations: 0 / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3347, allocations: 3.938 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.3353, allocations: 366 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3353, allocations: 4 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.3354, allocations: 23.92 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3354, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3354, allocations: 7.938 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3354, allocations: 4.016 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3354, allocations: 3.984 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3357, allocations: 215.5 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.3357, allocations: 7.953 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3358, allocations: 7.938 kB / 0.5673 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.3359, allocations: 7.984 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.3359, allocations: 11.98 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3359, allocations: 0 / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.336, allocations: 125.4 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.336, allocations: 0 / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.3363, allocations: 43.8 kB / 0.5675 GB, free: 13.15 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 (7): * Single equations (assignments): 7 * 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.00225/0.3386, allocations: 1.133 MB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.3389, allocations: 79.92 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3389, allocations: 3.938 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.339, allocations: 35.97 kB / 0.5687 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3393, allocations: 23.98 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.3416, allocations: 1.601 MB / 0.5703 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3419, allocations: 0.6924 MB / 0.571 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.342, allocations: 16.66 kB / 0.571 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.3421, allocations: 31.42 kB / 0.571 GB, free: 9.586 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3421, allocations: 0 / 0.571 GB, free: 9.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.3734, allocations: 3.688 MB / 0.5746 GB, free: 5.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.45, allocations: 3.938 kB / 0.5746 GB, free: 5.926 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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: 14.393400180153549]