Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.78 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09905, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006032/0.1051, allocations: 5.036 MB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1076, allocations: 1.336 MB / 363.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.1082, allocations: 15.88 kB / 364 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.1088, allocations: 158.5 kB / 364.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009294/0.1097, allocations: 321.2 kB / 364.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.1104, allocations: 239.6 kB / 364.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1119, allocations: 1.16 MB / 365.8 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.1125, allocations: 318 kB / 366.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007799/0.1132, allocations: 446.5 kB / 366.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007837/0.114, allocations: 0.5057 MB / 367.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.1143, allocations: 104 kB / 367.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.1146, allocations: 108 kB / 367.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.1148, allocations: 227.2 kB / 367.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.1155, allocations: 0.5172 MB / 368 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1166, allocations: 1.187 MB / 369.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1166, allocations: 0 / 369.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1167, allocations: 4 kB / 369.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.193e-05/0.1167, allocations: 0 / 369.2 MB, free: 2.309 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003267/0.12, allocations: 1.341 MB / 370.6 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.12, allocations: 8.031 kB / 370.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/0.1203, allocations: 115.9 kB / 370.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.1207, allocations: 111.7 kB / 370.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.1219, allocations: 0.587 MB / 371.4 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1696/0.2915, allocations: 174 kB / 371.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.2917, allocations: 61.41 kB / 371.6 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.2933, allocations: 0.8743 MB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2933, allocations: 1.75 kB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.2934, allocations: 28.56 kB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.2934, allocations: 14.73 kB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.295, allocations: 0.6369 MB / 373.2 MB, free: 19.64 MB / 302.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.003385/0.2984, allocations: 2.1 MB / 375.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.2997, allocations: 0.8631 MB / 376.1 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/0.3006, allocations: 402 kB / 376.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.3006, allocations: 20.3 kB / 376.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.3007, allocations: 57.41 kB / 376.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.544e-06/0.3007, allocations: 1.156 kB / 376.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005512/0.3062, allocations: 1.826 MB / 378.4 MB, free: 17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.3065, allocations: 0.8228 MB / 379.2 MB, free: 16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009694/0.3074, allocations: 0.6302 MB / 379.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/0.3075, allocations: 46.09 kB / 379.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.3078, allocations: 343.2 kB / 380.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.3081, allocations: 258 kB / 380.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.3083, allocations: 144.4 kB / 380.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3085, allocations: 385.4 kB / 381 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.3093, allocations: 289.8 kB / 381.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.3104, allocations: 0.5599 MB / 381.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.3121, allocations: 0.7069 MB / 382.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.3122, allocations: 1.531 kB / 382.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003699/0.3159, allocations: 1.119 MB / 383.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.3159, allocations: 84.42 kB / 383.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.316, allocations: 1.859 kB / 383.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/0.3167, allocations: 240.6 kB / 384 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.3173, allocations: 143.6 kB / 384.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/0.3241, allocations: 6.953 MB / 391.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.3252, allocations: 100.8 kB / 391.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.3253, allocations: 21.98 kB / 391.2 MB, free: 6.926 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * 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 {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003351/0.3256, allocations: 232.8 kB / 391.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3257, allocations: 85 kB / 391.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.3259, allocations: 90.38 kB / 391.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3259, allocations: 7.859 kB / 391.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3259, allocations: 0 / 391.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002416/0.3284, allocations: 1.263 MB / 392.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.3318, allocations: 1.965 MB / 394.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3318, allocations: 1.094 kB / 394.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.3325, allocations: 151.7 kB / 395 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004884/0.333, allocations: 201.7 kB / 395.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.3331, allocations: 20.05 kB / 395.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005338/0.3384, allocations: 5.339 MB / 400.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3384, allocations: 1.125 kB / 400.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.342, allocations: 1.428 MB / 402 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.3424, allocations: 244.8 kB / 402.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3425, allocations: 19.09 kB / 402.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/0.3432, allocations: 60.25 kB / 402.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.3434, allocations: 65.98 kB / 402.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.3435, allocations: 21.67 kB / 402.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006775/0.3442, allocations: 452.9 kB / 402.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3442, allocations: 4 kB / 402.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001105/0.3453, allocations: 287.2 kB / 403.1 MB, free: 14.1 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003674/0.349, allocations: 2.004 MB / 405.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.3517, allocations: 1.4 MB / 406.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3517, allocations: 3.969 kB / 406.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.3531, allocations: 0.784 MB / 407.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.3543, allocations: 234.3 kB / 407.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.3673, allocations: 8.074 MB / 415.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/0.368, allocations: 0.9479 MB / 416.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006208/0.3687, allocations: 98.42 kB / 416.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.3692, allocations: 307.3 kB / 417 MB, free: 1.258 MB / 318.1 MB Notification: Performance of SimCode: time 2.665e-06/0.3692, allocations: 112 / 417 MB, free: 1.258 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06204/0.4312, allocations: 25.65 MB / 442.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.07, allocations: 4.062 kB / 442.6 MB, free: 7.973 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches