Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.94 kB / 306.4 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.08388, allocations: 50.53 MB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004787/0.08871, allocations: 3.704 MB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.09059, allocations: 1.02 MB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.09093, allocations: 4 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.0913, allocations: 91.36 kB / 361.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.0918, allocations: 174.7 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.09213, allocations: 119.8 kB / 362 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000779/0.09292, allocations: 0.6455 MB / 362.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.09319, allocations: 172.1 kB / 362.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.09352, allocations: 239 kB / 363 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.09387, allocations: 278.8 kB / 363.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-05/0.09397, allocations: 40 kB / 363.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.0941, allocations: 40 kB / 363.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.0942, allocations: 115.5 kB / 363.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.09449, allocations: 294.6 kB / 363.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.09505, allocations: 0.6656 MB / 364.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.09506, allocations: 4 kB / 364.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.09507, allocations: 0 / 364.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.09509, allocations: 0 / 364.5 MB, free: 6.844 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001492/0.09659, allocations: 0.8877 MB / 365.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.09663, allocations: 8.031 kB / 365.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.09676, allocations: 87.27 kB / 365.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.09687, allocations: 60.28 kB / 365.5 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.0975, allocations: 434.4 kB / 365.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.09771, allocations: 86.88 kB / 366 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.09777, allocations: 32.38 kB / 366 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008436/0.09862, allocations: 0.5046 MB / 366.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.09864, allocations: 0 / 366.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.09869, allocations: 16 kB / 366.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.0987, allocations: 8 kB / 366.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.09958, allocations: 362.4 kB / 366.9 MB, free: 4.219 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.001945/0.1015, allocations: 1.318 MB / 368.2 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.1022, allocations: 391.3 kB / 368.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.1027, allocations: 188.8 kB / 368.8 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1027, allocations: 11.98 kB / 368.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1027, allocations: 42.56 kB / 368.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.1027, allocations: 0 / 368.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001617/0.1044, allocations: 0.7673 MB / 369.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.1046, allocations: 449 kB / 370.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.1051, allocations: 453.9 kB / 370.5 MB, free: 344 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.1051, allocations: 41.64 kB / 370.5 MB, free: 296 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1053, allocations: 248.3 kB / 370.8 MB, free: 44 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1383/0.2436, allocations: 112.2 kB / 370.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.2438, allocations: 79.7 kB / 371 MB, free: 20.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.244, allocations: 357.3 kB / 371.3 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.2444, allocations: 154.6 kB / 371.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.245, allocations: 295.4 kB / 371.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007408/0.2457, allocations: 361.8 kB / 372.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2457, allocations: 0.6562 kB / 372.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001013/0.2468, allocations: 0.5043 MB / 372.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.2468, allocations: 35.12 kB / 372.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2468, allocations: 1.578 kB / 372.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.247, allocations: 50.45 kB / 372.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.2474, allocations: 92.95 kB / 372.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.2491, allocations: 2.741 MB / 375.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.2495, allocations: 58.86 kB / 375.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.2495, allocations: 9.531 kB / 375.6 MB, free: 17.2 MB / 302.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.0001794/0.2497, allocations: 174.6 kB / 375.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.2498, allocations: 54.25 kB / 375.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.2499, allocations: 58.34 kB / 375.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2499, allocations: 4.516 kB / 375.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2499, allocations: 0 / 375.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009197/0.2508, allocations: 0.7547 MB / 376.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.2524, allocations: 1.043 MB / 377.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2524, allocations: 0.7969 kB / 377.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.2528, allocations: 90.84 kB / 377.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2528, allocations: 1.375 kB / 377.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2528, allocations: 15.56 kB / 377.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2529, allocations: 2.312 kB / 377.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2529, allocations: 3.938 kB / 377.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2541, allocations: 0.6868 MB / 378.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.2542, allocations: 171.3 kB / 378.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.2543, allocations: 8.25 kB / 378.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.2547, allocations: 42.92 kB / 378.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.2548, allocations: 27.45 kB / 378.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2548, allocations: 8.016 kB / 378.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.2551, allocations: 325.8 kB / 379.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2551, allocations: 0 / 379.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004159/0.2555, allocations: 136.9 kB / 379.2 MB, free: 15.07 MB / 302.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.001366/0.2569, allocations: 1.239 MB / 380.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.258, allocations: 0.6587 MB / 381.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.258, allocations: 1.281 kB / 381.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.2584, allocations: 194.1 kB / 381.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.2591, allocations: 137.1 kB / 381.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.265, allocations: 4.877 MB / 386.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2652, allocations: 0.8345 MB / 387.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.2655, allocations: 65.72 kB / 387.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.2657, allocations: 174.3 kB / 387.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2657, allocations: 1.781 kB / 387.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2892, allocations: 12.75 MB / 400.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.2894, allocations: 233.5 kB / 400.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.218, allocations: 3.938 kB / 400.3 MB, free: 3.488 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches