Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008337, allocations: 88.28 kB / 20.95 MB, free: 3.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008752/0.0008752, allocations: 156.8 kB / 24.27 MB, free: 128 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8957/0.8957, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 34.24 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.039e-05, allocations: 3.156 kB / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002236/0.002256, allocations: 1.667 MB / 378.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006151/0.002871, allocations: 0.7793 MB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.002907, allocations: 0 / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.003136, allocations: 31.78 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.003325, allocations: 39.83 kB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.003329, allocations: 4 kB / 379.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.003466, allocations: 39.83 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.003497, allocations: 4 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.003536, allocations: 15.92 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.003581, allocations: 7.984 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.003592, allocations: 0 / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.376e-05/0.003635, allocations: 15.92 kB / 379.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.003676, allocations: 19.88 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.003697, allocations: 15.94 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003816, allocations: 59.8 kB / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003818, allocations: 0 / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.00382, allocations: 0 / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.003826, allocations: 3.984 kB / 379.4 MB, free: 0.6797 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002768/0.004102, allocations: 290 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.004138, allocations: 8.031 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.00417, allocations: 42.73 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.004201, allocations: 12.83 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.848e-05/0.004289, allocations: 117.7 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.004298, allocations: 4.375 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.004307, allocations: 4.375 kB / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.004448, allocations: 123.3 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.004454, allocations: 192 / 380 MB, free: 0 / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.004483, allocations: 4.422 kB / 380 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.004517, allocations: 28.06 kB / 380 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.004569, allocations: 43.84 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.00501, allocations: 0.8546 MB / 380.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.005077, allocations: 173.2 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.005102, allocations: 80.14 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.005121, allocations: 75.28 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.005154, allocations: 117.8 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.005155, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.939e-05/0.005214, allocations: 37.59 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.005256, allocations: 130.6 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.005655, allocations: 186.8 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.005662, allocations: 25.7 kB / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.005732, allocations: 159.4 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.005736, allocations: 8 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.005774, allocations: 41.66 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.005857, allocations: 322.8 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.005889, allocations: 31.98 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.005966, allocations: 156.2 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.006097, allocations: 200.8 kB / 382.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0061, allocations: 4 kB / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002148/0.006315, allocations: 201.2 kB / 382.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.006331, allocations: 15.92 kB / 382.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.006337, allocations: 4.625 kB / 382.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.006351, allocations: 8 kB / 382.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.006445, allocations: 39.92 kB / 382.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.006452, allocations: 4 kB / 382.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.006519, allocations: 23.84 kB / 382.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.00653, allocations: 12 kB / 383 MB, free: 12.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 8.986e-05/0.00662, allocations: 217 kB / 383.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.006667, allocations: 120.8 kB / 383.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.006707, allocations: 120.7 kB / 383.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.287e-05/0.00675, allocations: 184.2 kB / 383.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-05/0.006794, allocations: 180.3 kB / 383.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.243e-05/0.006837, allocations: 184.3 kB / 383.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.007, allocations: 396.2 kB / 384.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/0.007023, allocations: 101 kB / 384.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.007049, allocations: 104.9 kB / 384.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.327e-05/0.007092, allocations: 180.3 kB / 384.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.007137, allocations: 184.2 kB / 384.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.066e-05/0.007178, allocations: 180.2 kB / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.324e-05/0.007221, allocations: 184.3 kB / 385.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/0.00732, allocations: 307.7 kB / 385.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.007361, allocations: 116.9 kB / 385.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.007409, allocations: 180.2 kB / 385.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.007459, allocations: 113 kB / 385.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.007504, allocations: 184.2 kB / 386.1 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.007529, allocations: 105 kB / 386.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.907e-05/0.007598, allocations: 132 kB / 386.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007598, allocations: 0 / 386.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.007787, allocations: 16 kB / 386.4 MB, free: 9.18 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 (0): * Single equations (assignments): 0 * 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.0005371/0.008324, allocations: 0.9168 MB / 387.3 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.008443, allocations: 76.22 kB / 387.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008444, allocations: 0 / 387.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.008445, allocations: 0 / 387.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.008688, allocations: 467.6 kB / 387.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.01022, allocations: 1.883 MB / 389.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.01028, allocations: 87.75 kB / 389.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.01043, allocations: 45.09 kB / 389.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.01048, allocations: 32.48 kB / 389.9 MB, free: 5.48 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01048, allocations: 0 / 389.9 MB, free: 5.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.02736, allocations: 2.913 MB / 392.8 MB, free: 2.68 MB / 362.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.47, allocations: 10.47 kB / 392.8 MB, free: 2.672 MB / 362.7 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_OMSimulator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_OMSimulator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_OMSimulator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_OMSimulator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_OMSimulator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_OMSimulator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_OMSimulator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_fmpy.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: 12.45102435699664]