Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 105.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1963/0.1963, allocations: 43.53 MB / 314 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 68.98 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09419, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002246/0.09647, allocations: 1.555 MB / 442.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.09751, allocations: 0.93 MB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.09757, allocations: 0 / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.09779, allocations: 23.86 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.09797, allocations: 39.78 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.09815, allocations: 75.78 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.09827, allocations: 51.91 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.09837, allocations: 11.98 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.09842, allocations: 23.86 kB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.09855, allocations: 27.91 kB / 443.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.09857, allocations: 4 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.09866, allocations: 47.92 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.0987, allocations: 11.92 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.09874, allocations: 23.86 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.09887, allocations: 87.78 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.09889, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09889, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.0989, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.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.000379/0.09928, allocations: 379.2 kB / 443.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.09933, allocations: 15.89 kB / 443.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.09936, allocations: 30.75 kB / 443.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.09939, allocations: 8.844 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.09955, allocations: 196.2 kB / 444.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-06/0.09956, allocations: 8.312 kB / 444.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.09959, allocations: 384 / 444.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.09973, allocations: 67.33 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.09975, allocations: 4 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.09976, allocations: 0 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.09977, allocations: 0 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.09985, allocations: 19.98 kB / 444.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.1001, allocations: 280.8 kB / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1003, allocations: 46.55 kB / 444.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.1004, allocations: 12.95 kB / 444.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1004, allocations: 3.984 kB / 444.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1004, allocations: 38.56 kB / 444.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1004, allocations: 0 / 444.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004724/0.1009, allocations: 137.3 kB / 444.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1009, allocations: 77.11 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.101, allocations: 141 kB / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.101, allocations: 25.7 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.1011, allocations: 96.14 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1011, allocations: 11.8 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.1011, allocations: 17.72 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.1012, allocations: 326.7 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/0.1012, allocations: 15.98 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.1013, allocations: 37.69 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1014, allocations: 40.88 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1014, allocations: 0 / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001458/0.1016, allocations: 85.56 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1016, allocations: 4 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1016, allocations: 0 / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1016, allocations: 4 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.1017, allocations: 11.94 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1017, allocations: 0 / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.1017, allocations: 11.98 kB / 445.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1017, allocations: 3.938 kB / 445.6 MB, free: 1.52 MB / 318.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 (5): * Single equations (assignments): 5 * 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.412e-05/0.1018, allocations: 117.8 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1018, allocations: 7.906 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.102, allocations: 89.56 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.102, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1021, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1021, allocations: 7.984 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.1024, allocations: 354.7 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1024, allocations: 0 / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.1024, allocations: 11.98 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1024, allocations: 0 / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1024, allocations: 0 / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1025, allocations: 7.938 kB / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1025, allocations: 0 / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1026, allocations: 179.4 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.1027, allocations: 81.09 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1027, allocations: 0 / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.1027, allocations: 15.88 kB / 446.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1028, allocations: 7.984 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1028, allocations: 0 / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.199e-05/0.1029, allocations: 107.3 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1029, allocations: 0 / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1031, allocations: 20 kB / 446.6 MB, free: 436 kB / 318.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 (5): * Single equations (assignments): 5 * 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.001227/0.1043, allocations: 1.059 MB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1045, allocations: 43.97 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1045, allocations: 0 / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.1046, allocations: 27.92 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1049, allocations: 25.95 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.1064, allocations: 1.37 MB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1067, allocations: 0.6885 MB / 449.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.1067, allocations: 12.38 kB / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.1068, allocations: 27.42 kB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1068, allocations: 0 / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.1271, allocations: 2.655 MB / 452.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.708, allocations: 15.88 kB / 452.6 MB, free: 10.43 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches