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.001496/0.001496, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001555/0.001555, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.551/1.551, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.224/0.224, allocations: 43.52 MB / 314.1 MB, free: 464 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.001679/0.001679, allocations: 71.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1339, 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.004301/0.1382, allocations: 2.394 MB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1399, allocations: 0.8148 MB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.1402, allocations: 4 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1406, allocations: 59.5 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.1412, allocations: 99.25 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.1416, allocations: 95.88 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005928/0.1422, allocations: 346.8 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.1425, allocations: 96.62 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.1429, allocations: 135.5 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.1432, allocations: 151.4 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.1433, allocations: 28 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.1434, allocations: 28 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.1435, allocations: 71.75 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.1437, allocations: 155.2 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.1441, allocations: 358.7 kB / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1441, allocations: 0 / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1441, allocations: 0 / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.1442, allocations: 0 / 0.4921 GB, free: 7.496 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.001328/0.1455, allocations: 0.6042 MB / 0.4927 GB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1455, allocations: 15.83 kB / 0.4927 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.1457, allocations: 62.72 kB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1458, allocations: 32.56 kB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.1462, allocations: 271.6 kB / 0.493 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.1463, allocations: 20.88 kB / 0.493 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.1463, allocations: 24.38 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.1469, allocations: 252.9 kB / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1469, allocations: 0 / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.147, allocations: 8 kB / 0.4933 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.147, allocations: 8 kB / 0.4933 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.1475, allocations: 230.1 kB / 0.4935 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1492, allocations: 0.8598 MB / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.1499, allocations: 310.1 kB / 0.4947 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.1502, allocations: 144.8 kB / 0.4948 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.1503, allocations: 11.92 kB / 0.4948 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.1503, allocations: 34.56 kB / 0.4949 GB, free: 4.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.1503, allocations: 0 / 0.4949 GB, free: 4.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004514/0.1549, allocations: 1.258 MB / 0.4961 GB, free: 3.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.1549, allocations: 55.41 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1552, allocations: 213.6 kB / 0.4963 GB, free: 2.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.1552, allocations: 33.7 kB / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1554, allocations: 164.5 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.1555, allocations: 102.5 kB / 0.4966 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1556, allocations: 57.56 kB / 0.4967 GB, free: 2.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1558, allocations: 330.8 kB / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.156, allocations: 91.95 kB / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.1563, allocations: 121.9 kB / 0.4972 GB, free: 1.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.1568, allocations: 235.3 kB / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1568, allocations: 0 / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001775/0.1586, allocations: 0.5402 MB / 0.498 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.1586, allocations: 7.984 kB / 0.498 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.1586, allocations: 4 kB / 0.498 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.1604, allocations: 307.2 kB / 0.4983 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1606, allocations: 27.97 kB / 0.4983 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008957/0.1696, allocations: 6.836 MB / 0.505 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.1699, allocations: 31.69 kB / 0.505 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.17, allocations: 4 kB / 0.505 GB, free: 9.312 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.0003142/0.1703, allocations: 157.6 kB / 0.5052 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.1704, allocations: 23.78 kB / 0.5052 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.1724, allocations: 0.5473 MB / 0.5057 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.1725, allocations: 4 kB / 0.5057 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1725, allocations: 8.125 kB / 0.5057 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1725, allocations: 3.984 kB / 0.5057 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.1732, allocations: 353.3 kB / 0.5061 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.1732, allocations: 3.938 kB / 0.5061 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1734, allocations: 23.97 kB / 0.5061 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.1751, allocations: 311.1 kB / 0.5064 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.1752, allocations: 4 kB / 0.5064 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009198/0.1844, allocations: 6.885 MB / 0.5131 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1844, allocations: 0 / 0.5131 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.1864, allocations: 0.6115 MB / 0.5137 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1866, allocations: 112.6 kB / 0.5138 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.1867, allocations: 7.984 kB / 0.5138 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.1869, allocations: 8.25 kB / 0.5138 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.1871, allocations: 35.94 kB / 0.5139 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.1871, allocations: 12 kB / 0.5139 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.1874, allocations: 160.5 kB / 0.514 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1874, allocations: 0 / 0.514 GB, free: 15.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007588/0.1881, allocations: 115.9 kB / 0.5141 GB, free: 15.26 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.002231/0.1904, allocations: 1.161 MB / 0.5153 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.1919, allocations: 0.7642 MB / 0.516 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.1919, allocations: 3.938 kB / 0.516 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.1934, allocations: 0.7328 MB / 0.5167 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1939, allocations: 27.03 kB / 0.5168 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/0.2008, allocations: 3.083 MB / 0.5198 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.2013, allocations: 0.7755 MB / 0.5205 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.2014, allocations: 9.953 kB / 0.5205 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.2016, allocations: 79.41 kB / 0.5206 GB, free: 8.336 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2016, allocations: 0 / 0.5206 GB, free: 8.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3034/0.505, allocations: 11.05 MB / 0.5314 GB, free: 41.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.59, allocations: 4.688 kB / 0.5314 GB, free: 41.1 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