Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0008592/0.0008592, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.000838/0.000838, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.906/0.906, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2561/0.2561, allocations: 32.79 MB / 293.5 MB, free: 1.207 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.315e-05, allocations: 2.844 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002325/0.002348, allocations: 1.613 MB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.003169, allocations: 0.5336 MB / 441.8 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.003231, allocations: 3.938 kB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.00351, allocations: 67.72 kB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.003791, allocations: 99.53 kB / 441.9 MB, free: 1.891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.00402, allocations: 99.31 kB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.004159, allocations: 87.73 kB / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.004252, allocations: 8 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.004315, allocations: 43.89 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.599e-05/0.004401, allocations: 47.88 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.004415, allocations: 4 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.004493, allocations: 47.86 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.004542, allocations: 23.86 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.00457, allocations: 15.92 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.004724, allocations: 107.6 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004726, allocations: 4 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.004728, allocations: 4 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.004732, allocations: 0 / 442.4 MB, free: 1.41 MB / 410.7 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.0003583/0.00509, allocations: 325.7 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.005128, allocations: 12.03 kB / 442.7 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.005157, allocations: 34.73 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.005184, allocations: 12.84 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.005317, allocations: 138.2 kB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.005326, allocations: 8.312 kB / 442.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.005344, allocations: 4.375 kB / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.005456, allocations: 62.16 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.005466, allocations: 4.188 kB / 443 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.005477, allocations: 7.938 kB / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.005482, allocations: 0 / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.949e-05/0.005541, allocations: 27.97 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.005838, allocations: 255.9 kB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.005921, allocations: 46.48 kB / 443.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.005951, allocations: 16.86 kB / 443.3 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.005972, allocations: 0 / 443.3 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.005993, allocations: 38.64 kB / 443.4 MB, free: 312 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.005994, allocations: 4 kB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005995/0.006594, allocations: 217.2 kB / 443.6 MB, free: 84 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.006627, allocations: 51.41 kB / 443.6 MB, free: 20 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1997/0.2064, allocations: 200.2 kB / 443.8 MB, free: 46.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2064, allocations: 26.95 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.2064, allocations: 105.9 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.2064, allocations: 24.39 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.2065, allocations: 22.83 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.2065, allocations: 327.6 kB / 444.3 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.2065, allocations: 22.91 kB / 444.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.2066, allocations: 28.75 kB / 444.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.2067, allocations: 66.05 kB / 444.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2067, allocations: 0 / 444.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001195/0.2068, allocations: 103.1 kB / 444.5 MB, free: 45.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2068, allocations: 7.219 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2068, allocations: 2.844 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2068, allocations: 2.625 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.2069, allocations: 20.48 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2069, allocations: 4.875 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.2069, allocations: 5.906 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.2069, allocations: 4.062 kB / 444.6 MB, free: 45.93 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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 5.024e-05/0.207, allocations: 129.5 kB / 444.7 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.207, allocations: 12.23 kB / 444.7 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.2071, allocations: 118.9 kB / 444.8 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2071, allocations: 6.469 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2071, allocations: 0.5625 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2071, allocations: 0.7188 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.2074, allocations: 365.2 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2074, allocations: 4.844 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.2075, allocations: 18.83 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2075, allocations: 2.906 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2075, allocations: 3.625 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2075, allocations: 0 / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2075, allocations: 5.516 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.2076, allocations: 213 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.2076, allocations: 9.734 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.2076, allocations: 0 / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.2076, allocations: 14.97 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2076, allocations: 12.8 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2076, allocations: 2.844 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.2077, allocations: 151.4 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2077, allocations: 0 / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.2079, allocations: 25.11 kB / 445.7 MB, free: 45.28 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.0008544/0.2087, allocations: 1.116 MB / 446.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2088, allocations: 60.94 kB / 446.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2088, allocations: 0 / 446.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.2089, allocations: 41.38 kB / 446.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2091, allocations: 20.84 kB / 446.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.21, allocations: 1.644 MB / 448.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.2101, allocations: 97 kB / 448.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.308e-05/0.2101, allocations: 17.05 kB / 448.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.2101, allocations: 33.08 kB / 448.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2101, allocations: 0 / 448.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.2249, allocations: 3.76 MB / 452.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.788, allocations: 8.938 kB / 452.5 MB, free: 41.78 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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: 8.829437815584242]