Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001341/0.001341, allocations: 109.5 kB / 17.73 MB, free: 5.344 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.001449/0.001449, allocations: 192.1 kB / 18.66 MB, free: 4.418 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.314/1.314, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.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.001249/0.001249, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08643, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004708/0.09118, allocations: 3.658 MB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.09304, allocations: 1.029 MB / 379.3 MB, free: 380 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.09342, allocations: 4 kB / 379.3 MB, free: 376 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.09384, allocations: 111 kB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.09436, allocations: 194.3 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1621/0.2565, allocations: 126.6 kB / 379.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00088/0.2574, allocations: 0.679 MB / 380.4 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.2577, allocations: 198.5 kB / 380.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.258, allocations: 257.8 kB / 380.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.2583, allocations: 297.2 kB / 381.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.32e-05/0.2583, allocations: 58.22 kB / 381.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.2584, allocations: 59 kB / 381.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.2585, allocations: 125.1 kB / 381.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.2589, allocations: 311.7 kB / 381.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007667/0.2596, allocations: 0.6963 MB / 382.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2596, allocations: 0 / 382.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2597, allocations: 1.469 kB / 382.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2597, allocations: 0.5312 kB / 382.4 MB, free: 9.047 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00134/0.261, allocations: 0.8902 MB / 383.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2611, allocations: 10.19 kB / 383.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.65e-05/0.2612, allocations: 75.27 kB / 383.4 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.2613, allocations: 66.16 kB / 383.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.2619, allocations: 438.1 kB / 383.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.262, allocations: 60.27 kB / 383.9 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.2621, allocations: 34.7 kB / 384 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.2628, allocations: 498.5 kB / 384.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2629, allocations: 1.031 kB / 384.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.2629, allocations: 18.19 kB / 384.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2629, allocations: 6.5 kB / 384.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.2637, allocations: 344.3 kB / 384.8 MB, free: 7.91 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.2654, allocations: 1.302 MB / 386.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.2661, allocations: 383.5 kB / 386.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.2665, allocations: 176 kB / 386.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.2665, allocations: 13.06 kB / 386.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2665, allocations: 37.97 kB / 386.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.2665, allocations: 0 / 386.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.00146/0.268, allocations: 0.7252 MB / 387.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.2681, allocations: 453.7 kB / 387.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.2685, allocations: 453.4 kB / 388.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.2686, allocations: 37.58 kB / 388.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2687, allocations: 241.8 kB / 388.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/0.2688, allocations: 122.7 kB / 388.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.269, allocations: 76.47 kB / 388.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.269, allocations: 360 kB / 389.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.2694, allocations: 137.4 kB / 389.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.2699, allocations: 284.1 kB / 389.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.2706, allocations: 342.8 kB / 389.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2706, allocations: 0 / 389.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009194/0.2715, allocations: 483.1 kB / 390.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.2716, allocations: 31.91 kB / 390.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2716, allocations: 5.094 kB / 390.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.2717, allocations: 50.8 kB / 390.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.2721, allocations: 81.09 kB / 390.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.274, allocations: 2.966 MB / 393.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.2745, allocations: 53.09 kB / 393.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.2745, allocations: 9.5 kB / 393.5 MB, free: 1.301 MB / 318.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.2747, allocations: 178.1 kB / 393.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.2748, allocations: 53.5 kB / 393.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.2749, allocations: 55.95 kB / 393.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2749, allocations: 4.016 kB / 393.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2749, allocations: 3.938 kB / 393.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008151/0.2757, allocations: 0.7337 MB / 394.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.2773, allocations: 1.002 MB / 395.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2773, allocations: 0 / 395.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.2777, allocations: 97.89 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2777, allocations: 1.281 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.2777, allocations: 6.656 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2778, allocations: 2.359 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2778, allocations: 2.188 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.279, allocations: 0.6464 MB / 396.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.2793, allocations: 175.5 kB / 396.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.2793, allocations: 9.031 kB / 396.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.2797, allocations: 29.7 kB / 396.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.2798, allocations: 33.7 kB / 396.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2798, allocations: 6.594 kB / 396.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003662/0.2802, allocations: 325.5 kB / 396.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2802, allocations: 0 / 396.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.2806, allocations: 140.8 kB / 397 MB, free: 15.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * 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.001613/0.2823, allocations: 1.193 MB / 398.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.2836, allocations: 0.6432 MB / 398.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2836, allocations: 0 / 398.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.284, allocations: 179 kB / 399 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.2847, allocations: 141.6 kB / 399.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.2913, allocations: 4.515 MB / 403.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.2918, allocations: 0.8279 MB / 404.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.2921, allocations: 62.92 kB / 404.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.2923, allocations: 172.3 kB / 404.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2923, allocations: 0 / 404.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07419/0.3665, allocations: 13.96 MB / 418.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.56, allocations: 15.94 kB / 418.7 MB, free: 1.59 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches