Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 100.1 kB / 21.95 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 213.5 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 46.59 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.223, allocations: 49.16 MB / 397.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002259/0.2253, allocations: 1.584 MB / 398.7 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006263/0.2259, allocations: 495.9 kB / 399.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.226, allocations: 1.188 kB / 399.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.226, allocations: 12.91 kB / 399.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.2261, allocations: 26.89 kB / 399.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.2262, allocations: 34.59 kB / 399.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2263, allocations: 99.39 kB / 399.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2264, allocations: 33.92 kB / 399.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.2265, allocations: 36.08 kB / 399.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.2265, allocations: 44.25 kB / 399.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2266, allocations: 8.531 kB / 399.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.876e-05/0.2266, allocations: 10.84 kB / 399.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.2266, allocations: 22.81 kB / 399.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.2267, allocations: 34.94 kB / 399.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2268, allocations: 104.3 kB / 399.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2268, allocations: 0 / 399.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2268, allocations: 0 / 399.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.2268, allocations: 0 / 399.6 MB, free: 7.434 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003333/0.2272, allocations: 310.8 kB / 399.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2272, allocations: 15.38 kB / 400 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/0.2272, allocations: 2.156 kB / 400 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.231e-05/0.2272, allocations: 45.52 kB / 400 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2273, allocations: 13.53 kB / 400 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.862e-05/0.2274, allocations: 119 kB / 400.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2274, allocations: 3.812 kB / 400.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.2274, allocations: 11.34 kB / 400.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2276, allocations: 86.41 kB / 400.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2276, allocations: 0.9688 kB / 400.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2276, allocations: 5 kB / 400.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2276, allocations: 6.375 kB / 400.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.2277, allocations: 51.25 kB / 400.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.2282, allocations: 355 kB / 400.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.2283, allocations: 69.61 kB / 400.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.2284, allocations: 30.81 kB / 400.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2284, allocations: 1.156 kB / 400.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.2284, allocations: 32.19 kB / 400.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2284, allocations: 0 / 400.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001734/0.2286, allocations: 94.44 kB / 400.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.2286, allocations: 56.44 kB / 400.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.2286, allocations: 109.2 kB / 401 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.2286, allocations: 25.7 kB / 401.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.2287, allocations: 106.3 kB / 401.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.2287, allocations: 31.22 kB / 401.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.2287, allocations: 27.48 kB / 401.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.158e-05/0.2287, allocations: 314 kB / 401.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.2288, allocations: 22 kB / 401.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.2288, allocations: 47.03 kB / 401.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.2289, allocations: 79.33 kB / 401.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2289, allocations: 0 / 401.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001245/0.229, allocations: 102.7 kB / 401.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.229, allocations: 5.422 kB / 401.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.229, allocations: 5.219 kB / 401.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2291, allocations: 1.469 kB / 401.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2292, allocations: 23.42 kB / 401.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2292, allocations: 0.9844 kB / 401.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.2292, allocations: 14.89 kB / 401.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2292, allocations: 3.438 kB / 401.8 MB, free: 5.566 MB / 318.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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 4.608e-05/0.2293, allocations: 119.1 kB / 401.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.2293, allocations: 6.188 kB / 401.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.2293, allocations: 14.47 kB / 402 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2293, allocations: 1.062 kB / 402 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2293, allocations: 0 / 402 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2293, allocations: 2.094 kB / 402 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.2294, allocations: 159.6 kB / 402.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2294, allocations: 5.781 kB / 402.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.2295, allocations: 21.77 kB / 402.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2295, allocations: 1.406 kB / 402.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.2295, allocations: 3.938 kB / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2295, allocations: 2.531 kB / 402.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2295, allocations: 0 / 402.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2297, allocations: 199.9 kB / 402.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.2297, allocations: 5.984 kB / 402.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2297, allocations: 6.641 kB / 402.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.2298, allocations: 1.219 kB / 402.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.2298, allocations: 8.109 kB / 402.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.2298, allocations: 1.125 kB / 402.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.2e-05/0.2298, allocations: 90.55 kB / 402.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2298, allocations: 0 / 402.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.23, allocations: 27.33 kB / 402.5 MB, free: 4.977 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * 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.0002308/0.2303, allocations: 0.7182 MB / 403.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.2304, allocations: 52.67 kB / 403.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2304, allocations: 0 / 403.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.2304, allocations: 25.47 kB / 403.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.2307, allocations: 8.484 kB / 403.3 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2317, allocations: 1.554 MB / 404.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.2318, allocations: 75.16 kB / 404.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.2318, allocations: 13.38 kB / 404.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.2318, allocations: 24.14 kB / 405 MB, free: 2.766 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2318, allocations: 1.219 kB / 405 MB, free: 2.766 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.2538, allocations: 2.021 MB / 407 MB, free: 2.062 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.82, allocations: 5.719 kB / 407 MB, free: 2.059 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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: 13.005535110947676]