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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 121.8 kB / 18.51 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001918/0.001918, allocations: 215.2 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 63.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09201, allocations: 53.32 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004768/0.09678, allocations: 3.697 MB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.09834, allocations: 1.012 MB / 431.4 MB, free: 292 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.09849, allocations: 8 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.09879, allocations: 111 kB / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.09917, allocations: 202.3 kB / 431.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.09942, allocations: 127.8 kB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007342/0.1002, allocations: 0.6886 MB / 432.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.1004, allocations: 130.3 kB / 432.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.1007, allocations: 255 kB / 432.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.101, allocations: 298.7 kB / 433.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/0.1011, allocations: 60 kB / 433.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.1012, allocations: 56 kB / 433.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1013, allocations: 123.6 kB / 433.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.1016, allocations: 310.5 kB / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007054/0.1023, allocations: 0.7003 MB / 434.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1023, allocations: 0 / 434.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1023, allocations: 7.938 kB / 434.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1023, allocations: 0 / 434.4 MB, free: 13.22 MB / 366.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.001537/0.1038, allocations: 0.9047 MB / 435.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1038, allocations: 12.03 kB / 435.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.104, allocations: 79.33 kB / 435.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1041, allocations: 68.56 kB / 435.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.1048, allocations: 442.7 kB / 435.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/0.1049, allocations: 58.91 kB / 436 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.1049, allocations: 40.38 kB / 436 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.1058, allocations: 488.9 kB / 436.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1058, allocations: 0 / 436.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.1058, allocations: 16 kB / 436.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1058, allocations: 8 kB / 436.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.1066, allocations: 346.3 kB / 436.8 MB, free: 10.63 MB / 366.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.001999/0.1086, allocations: 1.295 MB / 438.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.1093, allocations: 351.5 kB / 438.5 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.1097, allocations: 164.8 kB / 438.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1097, allocations: 15.92 kB / 438.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1097, allocations: 38.56 kB / 438.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.323e-06/0.1097, allocations: 0 / 438.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001547/0.1113, allocations: 0.7199 MB / 439.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/0.1115, allocations: 448.9 kB / 439.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.1121, allocations: 461.9 kB / 440.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.1121, allocations: 37.64 kB / 440.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.1123, allocations: 244.6 kB / 440.6 MB, free: 6.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1124, allocations: 126.9 kB / 440.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1125, allocations: 85.64 kB / 440.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1127, allocations: 362.7 kB / 441.1 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.1131, allocations: 135.7 kB / 441.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.1136, allocations: 282.6 kB / 441.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.1143, allocations: 337.2 kB / 441.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1143, allocations: 0 / 441.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009848/0.1153, allocations: 486.1 kB / 442.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.1153, allocations: 33.7 kB / 442.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1153, allocations: 0 / 442.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.1155, allocations: 53.69 kB / 442.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.1159, allocations: 79.88 kB / 442.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.1186, allocations: 2.969 MB / 445.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.119, allocations: 55.8 kB / 445.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.119, allocations: 11.98 kB / 445.5 MB, free: 1.227 MB / 366.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.0002127/0.1192, allocations: 173.7 kB / 445.7 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.1193, allocations: 51.91 kB / 445.8 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.1194, allocations: 56.75 kB / 445.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1194, allocations: 4 kB / 445.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1194, allocations: 3.938 kB / 445.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009703/0.1204, allocations: 0.732 MB / 446.6 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1723/0.2927, allocations: 1.003 MB / 447.6 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2927, allocations: 4.438 kB / 447.6 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.2931, allocations: 88.48 kB / 447.7 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2931, allocations: 1.688 kB / 447.7 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2931, allocations: 11.25 kB / 447.7 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2931, allocations: 3.5 kB / 447.7 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2931, allocations: 1.719 kB / 447.7 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2942, allocations: 0.6541 MB / 448.3 MB, free: 24.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2943, allocations: 171.5 kB / 448.5 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.2944, allocations: 12.95 kB / 448.5 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.2947, allocations: 22.94 kB / 448.5 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.2948, allocations: 27.61 kB / 448.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.2948, allocations: 6.469 kB / 448.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.2951, allocations: 325.6 kB / 448.9 MB, free: 24.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2951, allocations: 1.031 kB / 448.9 MB, free: 24.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004372/0.2955, allocations: 142.5 kB / 449 MB, free: 24.2 MB / 366.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.001227/0.2967, allocations: 1.211 MB / 450.2 MB, free: 23.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.2977, allocations: 0.6185 MB / 450.9 MB, free: 23.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2977, allocations: 1.781 kB / 450.9 MB, free: 23.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.298, allocations: 162.4 kB / 451 MB, free: 23.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.2986, allocations: 148.4 kB / 451.2 MB, free: 23.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.3041, allocations: 4.519 MB / 455.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3044, allocations: 0.8305 MB / 456.5 MB, free: 20.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.3047, allocations: 64.88 kB / 456.6 MB, free: 20.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.3049, allocations: 171.5 kB / 456.7 MB, free: 19.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3049, allocations: 0 / 456.7 MB, free: 19.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.349, allocations: 13.76 MB / 470.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.25, allocations: 16.53 kB / 470.5 MB, free: 15.91 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.519810679834336]