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.001281/0.001281, allocations: 113.4 kB / 17.72 MB, free: 5.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.001314/0.001314, allocations: 184.1 kB / 18.65 MB, free: 4.52 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.374/1.374, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001776/0.001776, allocations: 55.91 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1046, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006995/0.1117, allocations: 3.651 MB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1143, allocations: 1.025 MB / 379.3 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.1145, allocations: 8 kB / 379.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.115, allocations: 111 kB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.1156, allocations: 186.4 kB / 379.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1707/0.2863, allocations: 136.1 kB / 379.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000954/0.2873, allocations: 0.678 MB / 380.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.2876, allocations: 193.8 kB / 380.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.2879, allocations: 256.1 kB / 380.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.2882, allocations: 296.4 kB / 381.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/0.2883, allocations: 59.72 kB / 381.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.2884, allocations: 56.97 kB / 381.3 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.2885, allocations: 126 kB / 381.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.2888, allocations: 310.3 kB / 381.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.2895, allocations: 0.6976 MB / 382.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2895, allocations: 4.594 kB / 382.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2895, allocations: 0 / 382.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.2896, allocations: 0.5 kB / 382.4 MB, free: 9.078 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.001337/0.2909, allocations: 0.9113 MB / 383.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2909, allocations: 11.22 kB / 383.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.791e-05/0.291, allocations: 71.67 kB / 383.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2912, allocations: 71.45 kB / 383.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.2918, allocations: 439.5 kB / 383.9 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.2919, allocations: 58.17 kB / 383.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.292, allocations: 36.61 kB / 384 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007468/0.2927, allocations: 495.2 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2927, allocations: 4.188 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.2928, allocations: 22.88 kB / 384.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2928, allocations: 8.031 kB / 384.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.2936, allocations: 339.3 kB / 384.8 MB, free: 7.914 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.001704/0.2953, allocations: 1.308 MB / 386.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.2959, allocations: 373.4 kB / 386.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.2963, allocations: 185 kB / 386.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.2963, allocations: 5.688 kB / 386.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.2964, allocations: 38.34 kB / 386.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/0.2964, allocations: 0 / 386.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001438/0.2978, allocations: 0.7254 MB / 387.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.2979, allocations: 445.2 kB / 387.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.2983, allocations: 465 kB / 388.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.2984, allocations: 38.42 kB / 388.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2985, allocations: 242.6 kB / 388.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.2986, allocations: 130.2 kB / 388.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.2987, allocations: 76.39 kB / 388.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.2988, allocations: 363.2 kB / 389.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.2991, allocations: 138.7 kB / 389.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.2996, allocations: 283.3 kB / 389.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.3003, allocations: 337 kB / 389.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3003, allocations: 1.703 kB / 389.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009148/0.3012, allocations: 486.2 kB / 390.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.3013, allocations: 32.81 kB / 390.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3013, allocations: 0 / 390.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.3014, allocations: 51.33 kB / 390.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.3018, allocations: 88.08 kB / 390.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.3036, allocations: 2.963 MB / 393.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.304, allocations: 53.09 kB / 393.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3041, allocations: 13.91 kB / 393.6 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.0001631/0.3042, allocations: 165.7 kB / 393.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.3043, allocations: 62.11 kB / 393.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.3044, allocations: 56.86 kB / 393.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3044, allocations: 4.688 kB / 393.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3044, allocations: 4.641 kB / 393.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007771/0.3052, allocations: 0.7279 MB / 394.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.3067, allocations: 1.008 MB / 395.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3067, allocations: 3.938 kB / 395.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.3071, allocations: 87.67 kB / 395.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3071, allocations: 1.5 kB / 395.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.3072, allocations: 11.31 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.3072, allocations: 2.703 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3072, allocations: 3.938 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3085, allocations: 0.6471 MB / 396.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.3088, allocations: 175.8 kB / 396.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.3088, allocations: 11.98 kB / 396.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3092, allocations: 25.69 kB / 396.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.3093, allocations: 27.11 kB / 396.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3093, allocations: 11.53 kB / 396.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000387/0.3097, allocations: 325.8 kB / 396.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3097, allocations: 0 / 396.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000443/0.3102, allocations: 141.3 kB / 397.1 MB, free: 15.14 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.001714/0.3119, allocations: 1.205 MB / 398.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3131, allocations: 0.635 MB / 398.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3131, allocations: 0 / 398.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.3135, allocations: 178.9 kB / 399.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.3142, allocations: 161.4 kB / 399.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.321, allocations: 4.531 MB / 403.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.3215, allocations: 0.8341 MB / 404.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002948/0.3218, allocations: 64.53 kB / 404.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.3221, allocations: 176.2 kB / 404.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3221, allocations: 0 / 404.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.3668, allocations: 13.66 MB / 418.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.38, allocations: 15.94 kB / 418.5 MB, free: 1.805 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