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.001493/0.001493, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2355, allocations: 50.54 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004285/0.2398, allocations: 3.676 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2415, allocations: 1.001 MB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.2418, allocations: 4 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.2422, allocations: 115 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.2427, allocations: 194.3 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.243, allocations: 131.8 kB / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.2437, allocations: 0.6808 MB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.244, allocations: 199.9 kB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.2443, allocations: 251.1 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.2446, allocations: 302.7 kB / 415.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-05/0.2447, allocations: 56 kB / 415.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.2448, allocations: 64 kB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.245, allocations: 115.6 kB / 415.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.2452, allocations: 314.5 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.2458, allocations: 0.6929 MB / 416.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2458, allocations: 0 / 416.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2458, allocations: 0 / 416.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.2459, allocations: 4 kB / 416.5 MB, free: 9.754 MB / 334.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.001493/0.2474, allocations: 0.8932 MB / 417.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2474, allocations: 8.031 kB / 417.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.2475, allocations: 87.3 kB / 417.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.2477, allocations: 68.19 kB / 417.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.2484, allocations: 434.5 kB / 418 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.2485, allocations: 62.91 kB / 418 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.2486, allocations: 36.31 kB / 418.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007844/0.2494, allocations: 492.8 kB / 418.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2494, allocations: 11.92 kB / 418.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.2494, allocations: 16 kB / 418.6 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2494, allocations: 8 kB / 418.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.2502, allocations: 334.4 kB / 418.9 MB, free: 7.172 MB / 334.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.001911/0.2521, allocations: 1.29 MB / 420.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.2528, allocations: 390.3 kB / 420.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.2531, allocations: 176.8 kB / 420.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.2532, allocations: 15.92 kB / 420.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2532, allocations: 42.55 kB / 420.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2532, allocations: 0 / 420.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001444/0.2547, allocations: 0.7206 MB / 421.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.2548, allocations: 452.9 kB / 422 MB, free: 3.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.2553, allocations: 461.9 kB / 422.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.2554, allocations: 33.7 kB / 422.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.2555, allocations: 244.4 kB / 422.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/0.2556, allocations: 118.2 kB / 422.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2557, allocations: 77.62 kB / 422.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2559, allocations: 358.8 kB / 423.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.2562, allocations: 139.7 kB / 423.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.2567, allocations: 282.8 kB / 423.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.2574, allocations: 333.2 kB / 424 MB, free: 1.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2574, allocations: 0 / 424 MB, free: 1.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009337/0.2583, allocations: 497.7 kB / 424.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.2584, allocations: 29.7 kB / 424.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2584, allocations: 3.984 kB / 424.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.2586, allocations: 49.73 kB / 424.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.259, allocations: 83.88 kB / 424.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.2614, allocations: 2.969 MB / 427.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.2618, allocations: 55.59 kB / 427.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2619, allocations: 12 kB / 427.7 MB, free: 13.73 MB / 350.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.0002079/0.2621, allocations: 173.8 kB / 427.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.2622, allocations: 51.44 kB / 427.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/0.2623, allocations: 52.75 kB / 427.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2623, allocations: 4 kB / 428 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2623, allocations: 3.938 kB / 428 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008347/0.2631, allocations: 0.7243 MB / 428.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.2647, allocations: 1.013 MB / 429.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2647, allocations: 3.938 kB / 429.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.2651, allocations: 91.86 kB / 429.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2651, allocations: 4 kB / 429.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2652, allocations: 11.94 kB / 429.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2652, allocations: 3.938 kB / 429.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2652, allocations: 4 kB / 429.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2663, allocations: 0.6402 MB / 430.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.2665, allocations: 176.3 kB / 430.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.2666, allocations: 8 kB / 430.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.2669, allocations: 23.97 kB / 430.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.267, allocations: 27.91 kB / 430.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.267, allocations: 20.05 kB / 430.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.2673, allocations: 323.1 kB / 431 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2673, allocations: 0 / 431 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.2678, allocations: 135.8 kB / 431.1 MB, free: 10.04 MB / 350.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.00143/0.2692, allocations: 1.204 MB / 432.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.2703, allocations: 0.6333 MB / 433 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2703, allocations: 0 / 433 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.2707, allocations: 175.8 kB / 433.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.2714, allocations: 145.9 kB / 433.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.2774, allocations: 4.505 MB / 437.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.2778, allocations: 0.8314 MB / 438.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.278, allocations: 64.34 kB / 438.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.2783, allocations: 175.4 kB / 438.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2783, allocations: 0 / 438.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.314, allocations: 13.96 MB / 452.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.39, allocations: 8.812 kB / 452.8 MB, free: 4.426 MB / 366.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