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.001882/0.001882, allocations: 109.3 kB / 16.46 MB, free: 6.402 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.002288/0.002288, allocations: 193.4 kB / 17.39 MB, free: 5.633 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.915/1.915, allocations: 207.6 MB / 225.8 MB, free: 11.49 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.2978/0.2978, allocations: 44.25 MB / 319.9 MB, free: 12.84 MB / 270.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.002394/0.002394, allocations: 71.86 kB / 453.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1911, allocations: 61.01 MB / 0.5024 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.005668/0.1968, allocations: 2.401 MB / 0.5048 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.199, allocations: 0.8226 MB / 0.5056 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1992, allocations: 4 kB / 0.5056 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1995, allocations: 55.52 kB / 0.5056 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.2, allocations: 95.3 kB / 0.5057 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.2005, allocations: 103.8 kB / 0.5058 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.2011, allocations: 346.8 kB / 0.5062 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.2014, allocations: 64.7 kB / 0.5062 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.2018, allocations: 135.5 kB / 0.5064 GB, free: 8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.2021, allocations: 159.3 kB / 0.5065 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.2022, allocations: 32 kB / 0.5065 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.2023, allocations: 28 kB / 0.5066 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2024, allocations: 67.77 kB / 0.5066 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.2027, allocations: 147.2 kB / 0.5068 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.2034, allocations: 362.4 kB / 0.5071 GB, free: 7.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.2034, allocations: 0 / 0.5071 GB, free: 7.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.2034, allocations: 0 / 0.5071 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2034, allocations: 4 kB / 0.5071 GB, free: 7.215 MB / 398.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.001665/0.2051, allocations: 0.6194 MB / 0.5077 GB, free: 6.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.2051, allocations: 11.89 kB / 0.5077 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.2053, allocations: 58.73 kB / 0.5078 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.2054, allocations: 32.75 kB / 0.5078 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.206, allocations: 271.8 kB / 0.5081 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.206, allocations: 20.94 kB / 0.5081 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.206, allocations: 24.38 kB / 0.5081 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.2068, allocations: 245 kB / 0.5084 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.2068, allocations: 3.938 kB / 0.5084 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.2069, allocations: 12 kB / 0.5084 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2069, allocations: 4 kB / 0.5084 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.2077, allocations: 234.1 kB / 0.5086 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.2099, allocations: 0.8676 MB / 0.5095 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.2107, allocations: 294.1 kB / 0.5097 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.2111, allocations: 124.8 kB / 0.5099 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.2112, allocations: 4 kB / 0.5099 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.2112, allocations: 34.56 kB / 0.5099 GB, free: 4.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 3.025e-06/0.2113, allocations: 0 / 0.5099 GB, free: 4.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.006528/0.2178, allocations: 1.25 MB / 0.5111 GB, free: 2.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/0.2179, allocations: 55.41 kB / 0.5112 GB, free: 2.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.2183, allocations: 213 kB / 0.5114 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.2184, allocations: 33.7 kB / 0.5114 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.2186, allocations: 165.3 kB / 0.5116 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.2188, allocations: 115 kB / 0.5117 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.2189, allocations: 49.56 kB / 0.5117 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.2192, allocations: 338.8 kB / 0.512 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.2195, allocations: 91.95 kB / 0.5121 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.2199, allocations: 121.9 kB / 0.5122 GB, free: 1.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.2206, allocations: 235.3 kB / 0.5125 GB, free: 1.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2206, allocations: 0 / 0.5125 GB, free: 1.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002528/0.2231, allocations: 0.5326 MB / 0.513 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.2232, allocations: 8 kB / 0.513 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.2232, allocations: 0 / 0.513 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.2255, allocations: 319.1 kB / 0.5133 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2258, allocations: 23.98 kB / 0.5133 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.2379, allocations: 6.832 MB / 0.52 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.2383, allocations: 27.86 kB / 0.52 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.2383, allocations: 11.94 kB / 0.52 GB, free: 9.051 MB / 414.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.0002884/0.2386, allocations: 149.7 kB / 0.5202 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.2387, allocations: 27.81 kB / 0.5202 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.2412, allocations: 0.5396 MB / 0.5207 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.2412, allocations: 4 kB / 0.5207 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2412, allocations: 7.938 kB / 0.5207 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2412, allocations: 0 / 0.5207 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.2419, allocations: 353.3 kB / 0.5211 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2419, allocations: 4.125 kB / 0.5211 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2421, allocations: 27.97 kB / 0.5211 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/0.2443, allocations: 307.1 kB / 0.5214 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.2443, allocations: 8 kB / 0.5214 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.2562, allocations: 6.898 MB / 0.5281 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2563, allocations: 0 / 0.5281 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4068/0.663, allocations: 0.6104 MB / 0.5287 GB, free: 28.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.6631, allocations: 101.4 kB / 0.5288 GB, free: 28.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.6632, allocations: 5.719 kB / 0.5288 GB, free: 28.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.6634, allocations: 13.39 kB / 0.5289 GB, free: 28.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.6636, allocations: 38.2 kB / 0.5289 GB, free: 28.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.6636, allocations: 5.875 kB / 0.5289 GB, free: 28.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.6639, allocations: 161.9 kB / 0.529 GB, free: 28.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6639, allocations: 0 / 0.529 GB, free: 28.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000658/0.6645, allocations: 120.1 kB / 0.5292 GB, free: 28.59 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.002218/0.6667, allocations: 1.152 MB / 0.5303 GB, free: 27.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.6681, allocations: 0.7522 MB / 0.531 GB, free: 27.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6681, allocations: 0 / 0.531 GB, free: 27.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.6695, allocations: 0.7131 MB / 0.5317 GB, free: 27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.6699, allocations: 26.02 kB / 0.5317 GB, free: 26.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.6768, allocations: 3.093 MB / 0.5348 GB, free: 25.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.6773, allocations: 0.7706 MB / 0.5355 GB, free: 24.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.6773, allocations: 11.39 kB / 0.5355 GB, free: 24.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.6775, allocations: 76.95 kB / 0.5356 GB, free: 24.88 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6775, allocations: 0 / 0.5356 GB, free: 24.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08552/0.763, allocations: 10.85 MB / 0.5462 GB, free: 22.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/17.51, allocations: 6.156 kB / 0.5462 GB, free: 22.96 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