Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 187.3 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 47.92 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2396, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005179/0.2448, allocations: 3.711 MB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2464, allocations: 0.9774 MB / 427.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2466, allocations: 11.94 kB / 427.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.2469, allocations: 115 kB / 427.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.2473, allocations: 194.3 kB / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.2476, allocations: 135.8 kB / 427.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007624/0.2483, allocations: 0.6808 MB / 428.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.2486, allocations: 130.8 kB / 428.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.2489, allocations: 263.1 kB / 428.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.2493, allocations: 298.7 kB / 429.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.481e-05/0.2493, allocations: 56 kB / 429.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.2494, allocations: 56 kB / 429.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2496, allocations: 127.6 kB / 429.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.2499, allocations: 310.5 kB / 429.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000792/0.2507, allocations: 0.7085 MB / 430.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2507, allocations: 0 / 430.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2507, allocations: 0 / 430.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2507, allocations: 0 / 430.4 MB, free: 6.848 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.001623/0.2523, allocations: 0.8332 MB / 431.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2523, allocations: 8.031 kB / 431.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.2525, allocations: 75.38 kB / 431.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2526, allocations: 72.52 kB / 431.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007983/0.2534, allocations: 381 kB / 431.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2535, allocations: 110.3 kB / 431.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.2536, allocations: 40.36 kB / 431.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.2544, allocations: 492.8 kB / 432.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2544, allocations: 0 / 432.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.2545, allocations: 16 kB / 432.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2545, allocations: 8 kB / 432.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.2553, allocations: 346.4 kB / 432.7 MB, free: 4.355 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.002143/0.2574, allocations: 1.256 MB / 434 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/0.2581, allocations: 282.7 kB / 434.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.2585, allocations: 172.7 kB / 434.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.2585, allocations: 8.531 kB / 434.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2585, allocations: 38.56 kB / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.2585, allocations: 0 / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001503/0.26, allocations: 0.5765 MB / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/0.2603, allocations: 445 kB / 435.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.2608, allocations: 465.8 kB / 435.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.2609, allocations: 33.7 kB / 435.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.2611, allocations: 248.6 kB / 436.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2612, allocations: 126.9 kB / 436.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2613, allocations: 77.69 kB / 436.4 MB, free: 436 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2615, allocations: 354.8 kB / 436.7 MB, free: 72 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.2619, allocations: 139.9 kB / 436.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.2624, allocations: 282.8 kB / 437.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/0.2631, allocations: 341.1 kB / 437.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2631, allocations: 4 kB / 437.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009999/0.2641, allocations: 486.1 kB / 438 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.2642, allocations: 29.7 kB / 438 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2642, allocations: 0 / 438 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.2644, allocations: 57.67 kB / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.2648, allocations: 87.91 kB / 438.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.2675, allocations: 2.758 MB / 440.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.2679, allocations: 43.86 kB / 440.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.2679, allocations: 16.23 kB / 440.9 MB, free: 11.52 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.0002241/0.2681, allocations: 169.7 kB / 441.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.2682, allocations: 63.64 kB / 441.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.415e-05/0.2683, allocations: 48.77 kB / 441.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2683, allocations: 8 kB / 441.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2683, allocations: 3.938 kB / 441.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.2693, allocations: 0.7244 MB / 442 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.271, allocations: 0.9809 MB / 442.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.271, allocations: 3.938 kB / 442.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.2715, allocations: 87.88 kB / 443 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2715, allocations: 4 kB / 443 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.2715, allocations: 12 kB / 443 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2715, allocations: 4 kB / 443 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2715, allocations: 0 / 443 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.2727, allocations: 0.6484 MB / 443.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.2729, allocations: 95.52 kB / 443.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.273, allocations: 8 kB / 443.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.2733, allocations: 35.91 kB / 443.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.2734, allocations: 23.95 kB / 443.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.2735, allocations: 11.98 kB / 443.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000386/0.2738, allocations: 327.1 kB / 444.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2738, allocations: 0 / 444.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.2743, allocations: 147.8 kB / 444.3 MB, free: 7.953 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.001619/0.2759, allocations: 1.208 MB / 445.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.2771, allocations: 0.6292 MB / 446.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2771, allocations: 0 / 446.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.2775, allocations: 159.8 kB / 446.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.2781, allocations: 141.5 kB / 446.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/0.2849, allocations: 4.525 MB / 451 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.2854, allocations: 0.8353 MB / 451.8 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.2857, allocations: 64.34 kB / 451.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.2859, allocations: 175.4 kB / 452.1 MB, free: 24 kB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2859, allocations: 0 / 452.1 MB, free: 24 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/0.3375, allocations: 13.98 MB / 466 MB, free: 2.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.9, allocations: 8.047 kB / 466 MB, free: 2.32 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.190410390961915]