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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001345/0.001345, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.399/1.399, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09453, allocations: 53.32 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006326/0.1009, allocations: 5.082 MB / 431.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1032, allocations: 1.324 MB / 433.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003304/0.1035, allocations: 8 kB / 433.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.104, allocations: 166.5 kB / 433.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.1046, allocations: 337.2 kB / 433.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.1051, allocations: 231.6 kB / 433.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.1064, allocations: 1.176 MB / 435 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.1068, allocations: 222.1 kB / 435.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.1073, allocations: 454.4 kB / 435.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.1079, allocations: 0.5096 MB / 436.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.108, allocations: 104 kB / 436.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1082, allocations: 104 kB / 436.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.1084, allocations: 223.2 kB / 436.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.1089, allocations: 0.521 MB / 437.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1102, allocations: 1.202 MB / 438.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1102, allocations: 0 / 438.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1102, allocations: 0 / 438.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1102, allocations: 0 / 438.3 MB, free: 9.309 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002556/0.1127, allocations: 1.374 MB / 439.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1128, allocations: 8.031 kB / 439.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.113, allocations: 115.9 kB / 439.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.1132, allocations: 124.2 kB / 439.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1142, allocations: 0.5955 MB / 440.5 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.1144, allocations: 143 kB / 440.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1145, allocations: 71.86 kB / 440.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.116, allocations: 0.8626 MB / 441.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.116, allocations: 0 / 441.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.1161, allocations: 28 kB / 441.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1161, allocations: 12 kB / 441.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.1175, allocations: 0.618 MB / 442.2 MB, free: 5.129 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.003444/0.121, allocations: 2.081 MB / 444.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.1223, allocations: 0.7953 MB / 445.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/0.1231, allocations: 358.6 kB / 445.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/0.1232, allocations: 12.64 kB / 445.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.1232, allocations: 47.22 kB / 445.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.1232, allocations: 0 / 445.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.1656/0.2889, allocations: 1.797 MB / 447.3 MB, free: 25.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.289, allocations: 0.8223 MB / 448.1 MB, free: 24.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/0.2898, allocations: 0.6373 MB / 448.8 MB, free: 23.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.29, allocations: 45.83 kB / 448.8 MB, free: 23.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2902, allocations: 348.2 kB / 449.1 MB, free: 23.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.2904, allocations: 264.4 kB / 449.4 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.2906, allocations: 143.7 kB / 449.5 MB, free: 23.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.2907, allocations: 385.6 kB / 449.9 MB, free: 23.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2912, allocations: 273.8 kB / 450.2 MB, free: 23.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.292, allocations: 0.5557 MB / 450.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2932, allocations: 0.6791 MB / 451.4 MB, free: 22.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.2932, allocations: 1.188 kB / 451.4 MB, free: 22.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002315/0.2955, allocations: 1.097 MB / 452.5 MB, free: 22.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2955, allocations: 87.8 kB / 452.6 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2955, allocations: 0.9688 kB / 452.6 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.2962, allocations: 227.4 kB / 452.8 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.2968, allocations: 141.3 kB / 453 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.303, allocations: 6.927 MB / 459.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.3037, allocations: 105.3 kB / 460 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.3038, allocations: 24.14 kB / 460 MB, free: 15.86 MB / 366.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.0002728/0.3041, allocations: 222.4 kB / 460.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3042, allocations: 99.23 kB / 460.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3043, allocations: 91.55 kB / 460.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.3043, allocations: 6.469 kB / 460.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3044, allocations: 1.797 kB / 460.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002151/0.3065, allocations: 1.233 MB / 461.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.31, allocations: 1.926 MB / 463.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.31, allocations: 0 / 463.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/0.3107, allocations: 139.1 kB / 463.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.3111, allocations: 206.2 kB / 463.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.3112, allocations: 13.25 kB / 463.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004968/0.3162, allocations: 5.351 MB / 469.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3162, allocations: 0 / 469.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.319, allocations: 1.39 MB / 470.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.3193, allocations: 244.2 kB / 470.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3194, allocations: 18.53 kB / 470.9 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/0.32, allocations: 52.78 kB / 471 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.3202, allocations: 70.94 kB / 471.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.3202, allocations: 17.62 kB / 471.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005053/0.3207, allocations: 463.4 kB / 471.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3207, allocations: 0 / 471.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008262/0.3216, allocations: 284.4 kB / 471.8 MB, free: 7.953 MB / 366.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.002986/0.3245, allocations: 1.971 MB / 473.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.3264, allocations: 1.314 MB / 475.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3264, allocations: 2.344 kB / 475.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3276, allocations: 0.747 MB / 475.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.3285, allocations: 236.3 kB / 476.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.3396, allocations: 7.533 MB / 483.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.34, allocations: 0.9498 MB / 484.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004759/0.3404, allocations: 102.2 kB / 484.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.3407, allocations: 310.3 kB / 485 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3407, allocations: 0 / 485 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06769/0.4084, allocations: 26.08 MB / 0.4991 GB, free: 11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.1, allocations: 7.844 kB / 0.4991 GB, free: 10.99 MB / 398.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.419606233946979]