Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",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.001347/0.001347, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001402/0.001402, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.838/1.838, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2574/0.2574, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.002132/0.002132, allocations: 63.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1592, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.005082/0.1644, allocations: 2.39 MB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.166, allocations: 0.8148 MB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1661, allocations: 4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1663, allocations: 59.5 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.1666, allocations: 99.25 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1669, allocations: 103.8 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.1673, allocations: 354.1 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1676, allocations: 96.67 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.1678, allocations: 131.5 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.168, allocations: 151.4 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.1681, allocations: 28 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.88e-05/0.1682, allocations: 28 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.1683, allocations: 71.73 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1685, allocations: 151.2 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.169, allocations: 362.4 kB / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.169, allocations: 3.938 kB / 0.4921 GB, free: 7.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.169, allocations: 0 / 0.4921 GB, free: 7.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.169, allocations: 4 kB / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001363/0.1704, allocations: 0.6194 MB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1704, allocations: 11.89 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.1706, allocations: 62.72 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.1706, allocations: 36.69 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.1711, allocations: 259.8 kB / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1711, allocations: 16.94 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.1712, allocations: 24.38 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.1717, allocations: 256.9 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1718, allocations: 0 / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1718, allocations: 12 kB / 0.4933 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.1718, allocations: 8 kB / 0.4934 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.1724, allocations: 226.1 kB / 0.4936 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.1739, allocations: 0.8678 MB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.1746, allocations: 310.6 kB / 0.4947 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.1749, allocations: 144.8 kB / 0.4949 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.1749, allocations: 8 kB / 0.4949 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.175, allocations: 34.56 kB / 0.4949 GB, free: 4.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.175, allocations: 0 / 0.4949 GB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.005513/0.1805, allocations: 1.258 MB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.1806, allocations: 55.41 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.181, allocations: 213 kB / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.181, allocations: 33.7 kB / 0.4964 GB, free: 2.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1812, allocations: 161.3 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.1814, allocations: 107.1 kB / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.1815, allocations: 53.56 kB / 0.4967 GB, free: 2.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.1818, allocations: 342.8 kB / 0.497 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.1822, allocations: 87.95 kB / 0.4971 GB, free: 2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.1826, allocations: 117.9 kB / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/0.1834, allocations: 239.2 kB / 0.4975 GB, free: 1.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1834, allocations: 4 kB / 0.4975 GB, free: 1.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002955/0.1864, allocations: 0.5365 MB / 0.498 GB, free: 1.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.1865, allocations: 8 kB / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.1865, allocations: 3.984 kB / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.1885, allocations: 311.2 kB / 0.4983 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1887, allocations: 27.97 kB / 0.4983 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/0.1975, allocations: 6.837 MB / 0.505 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.1978, allocations: 31.78 kB / 0.505 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1979, allocations: 12.05 kB / 0.505 GB, free: 9.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.1981, allocations: 145.7 kB / 0.5052 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.1981, allocations: 27.81 kB / 0.5052 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.2, allocations: 0.5512 MB / 0.5058 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2, allocations: 0 / 0.5058 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2001, allocations: 3.938 kB / 0.5058 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2001, allocations: 7.984 kB / 0.5058 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.2006, allocations: 345.4 kB / 0.5061 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2007, allocations: 7.922 kB / 0.5061 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2008, allocations: 19.98 kB / 0.5061 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.2024, allocations: 315.3 kB / 0.5064 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.2024, allocations: 8 kB / 0.5064 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009172/0.2116, allocations: 6.89 MB / 0.5132 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2117, allocations: 0 / 0.5132 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2136, allocations: 0.6154 MB / 0.5138 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2137, allocations: 108.8 kB / 0.5139 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2137, allocations: 7.984 kB / 0.5139 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2139, allocations: 8 kB / 0.5139 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.2141, allocations: 39.94 kB / 0.5139 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.2141, allocations: 11.98 kB / 0.5139 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.2144, allocations: 160.4 kB / 0.5141 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2144, allocations: 0 / 0.5141 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006036/0.215, allocations: 119.9 kB / 0.5142 GB, free: 15.22 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 (11): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002262/0.2173, allocations: 1.161 MB / 0.5153 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.2187, allocations: 0.7603 MB / 0.5161 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2187, allocations: 0 / 0.5161 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.2202, allocations: 0.7366 MB / 0.5168 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.2205, allocations: 27.28 kB / 0.5168 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/0.2271, allocations: 3.094 MB / 0.5198 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.2277, allocations: 0.7717 MB / 0.5206 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.076e-05/0.2278, allocations: 13.95 kB / 0.5206 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.228, allocations: 75.41 kB / 0.5207 GB, free: 8.289 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.228, allocations: 0 / 0.5207 GB, free: 8.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3505/0.5785, allocations: 10.78 MB / 0.5312 GB, free: 40.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13, allocations: 6.75 kB / 0.5312 GB, free: 40.95 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches