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.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.001474/0.001474, allocations: 116 kB / 18.45 MB, free: 4.625 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.001489/0.001489, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.386/1.386, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.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.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.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 63.91 kB / 342.2 MB, free: 10.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1086, allocations: 49.11 MB / 391.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002988/0.1116, allocations: 1.627 MB / 393 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.1126, allocations: 0.5267 MB / 393.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.1127, allocations: 0 / 393.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/0.1127, allocations: 11.86 kB / 393.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.1128, allocations: 27.77 kB / 393.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.113, allocations: 27.91 kB / 393.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1132, allocations: 103.5 kB / 393.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1134, allocations: 31.91 kB / 393.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.1134, allocations: 35.92 kB / 393.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.1135, allocations: 39.84 kB / 393.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1135, allocations: 8 kB / 393.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.1136, allocations: 12 kB / 393.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.1136, allocations: 19.92 kB / 393.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.1137, allocations: 43.8 kB / 393.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1139, allocations: 107.5 kB / 394 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1139, allocations: 0 / 394 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1139, allocations: 0 / 394 MB, free: 6.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1139, allocations: 4 kB / 394 MB, free: 6.156 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.0005774/0.1145, allocations: 383.1 kB / 394.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1145, allocations: 12.03 kB / 394.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.1146, allocations: 38.75 kB / 394.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1147, allocations: 16.88 kB / 394.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1148, allocations: 168.3 kB / 394.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1148, allocations: 4.375 kB / 394.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1149, allocations: 8.375 kB / 394.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.115, allocations: 93.72 kB / 394.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1151, allocations: 4 kB / 394.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1151, allocations: 4 kB / 394.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1151, allocations: 0 / 394.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1152, allocations: 55.88 kB / 394.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.1159, allocations: 404.5 kB / 395.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1161, allocations: 66.56 kB / 395.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.1161, allocations: 32.84 kB / 395.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1161, allocations: 0 / 395.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1162, allocations: 34.5 kB / 395.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1162, allocations: 0 / 395.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002286/0.1164, allocations: 97.73 kB / 395.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.1165, allocations: 55.41 kB / 395.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.1165, allocations: 105.8 kB / 395.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1166, allocations: 25.7 kB / 395.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.1166, allocations: 104.1 kB / 395.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1167, allocations: 31.73 kB / 395.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1167, allocations: 25.72 kB / 395.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1169, allocations: 318.8 kB / 396 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.1169, allocations: 24.23 kB / 396 MB, free: 3.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.117, allocations: 58.5 kB / 396.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.1171, allocations: 66.58 kB / 396.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1171, allocations: 0 / 396.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002137/0.1173, allocations: 101.6 kB / 396.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1173, allocations: 4 kB / 396.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1173, allocations: 0 / 396.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1173, allocations: 12 kB / 396.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1175, allocations: 31.92 kB / 396.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1175, allocations: 0 / 396.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.1175, allocations: 15.83 kB / 396.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1175, allocations: 0 / 396.3 MB, free: 3.555 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 9.561e-05/0.1176, allocations: 121.8 kB / 396.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.1176, allocations: 7.984 kB / 396.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.1177, allocations: 12.31 kB / 396.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1177, allocations: 4 kB / 396.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1177, allocations: 4 kB / 396.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1177, allocations: 0 / 396.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1179, allocations: 185.6 kB / 396.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1179, allocations: 0 / 396.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.118, allocations: 19.94 kB / 396.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.118, allocations: 0 / 396.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.118, allocations: 3.938 kB / 396.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.118, allocations: 7.984 kB / 396.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.118, allocations: 0 / 396.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1183, allocations: 195.8 kB / 396.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.1183, allocations: 85.05 kB / 397 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1184, allocations: 3.938 kB / 397 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.1184, allocations: 8.031 kB / 397 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.1184, allocations: 3.938 kB / 397 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1184, allocations: 4 kB / 397 MB, free: 2.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.545e-05/0.1185, allocations: 87.27 kB / 397.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1185, allocations: 0 / 397.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1187, allocations: 20 kB / 397.1 MB, free: 2.703 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.0005112/0.1192, allocations: 0.7204 MB / 397.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1194, allocations: 59.8 kB / 397.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1194, allocations: 0 / 397.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.1194, allocations: 31.91 kB / 397.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1197, allocations: 12.28 kB / 397.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1213, allocations: 1.549 MB / 399.4 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1217, allocations: 0.6963 MB / 400.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1217, allocations: 4 kB / 400.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.1218, allocations: 23.42 kB / 400.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1218, allocations: 3.938 kB / 400.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.1495, allocations: 1.805 MB / 402 MB, free: 13.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/7.971, allocations: 15.73 kB / 402 MB, free: 13.59 MB / 334.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.209824511781335]