Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.001336/0.001336, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00166/0.00166, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.89 kB / 377.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2558, allocations: 53.4 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003313/0.2591, allocations: 1.608 MB / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2603, allocations: 0.5105 MB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.2604, allocations: 4 kB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.2604, allocations: 11.86 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.589e-05/0.2605, allocations: 27.77 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.2608, allocations: 35.89 kB / 433.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.261, allocations: 99.52 kB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2611, allocations: 27.98 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.2612, allocations: 35.86 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2613, allocations: 35.84 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2613, allocations: 12 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.607e-05/0.2614, allocations: 12 kB / 433.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.2614, allocations: 19.92 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.2615, allocations: 35.86 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.2617, allocations: 105.3 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2617, allocations: 0 / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2617, allocations: 3.938 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2617, allocations: 0 / 433.7 MB, free: 3.898 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004832/0.2621, allocations: 302.1 kB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2622, allocations: 11.98 kB / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.2622, allocations: 50.73 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.2624, allocations: 8.891 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2625, allocations: 122.4 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2625, allocations: 8.375 kB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2625, allocations: 8.375 kB / 434.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2627, allocations: 84.55 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2627, allocations: 0 / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2627, allocations: 8 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2627, allocations: 0 / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.2629, allocations: 51.97 kB / 434.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.2636, allocations: 359.5 kB / 434.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2637, allocations: 70.48 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.2638, allocations: 28.86 kB / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2638, allocations: 0 / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.2638, allocations: 34.72 kB / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.2638, allocations: 0 / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002247/0.264, allocations: 93.59 kB / 434.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2641, allocations: 55.41 kB / 435 MB, free: 2.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.2642, allocations: 117.9 kB / 435.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2642, allocations: 29.7 kB / 435.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.2643, allocations: 99.98 kB / 435.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.2643, allocations: 31.73 kB / 435.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.2644, allocations: 29.7 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2645, allocations: 310.8 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.2646, allocations: 23.98 kB / 435.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.2647, allocations: 49.69 kB / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.938e-05/0.2648, allocations: 66.52 kB / 435.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2648, allocations: 0 / 435.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001722/0.2649, allocations: 113.5 kB / 435.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.265, allocations: 4 kB / 435.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.265, allocations: 3.984 kB / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.265, allocations: 7.938 kB / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2651, allocations: 20 kB / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2651, allocations: 0 / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.2652, allocations: 11.95 kB / 435.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.2652, allocations: 0 / 435.9 MB, free: 1.523 MB / 334.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 0.0001003/0.2653, allocations: 121.8 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2653, allocations: 12 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.2653, allocations: 16.25 kB / 436 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2653, allocations: 4 kB / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2653, allocations: 0 / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2653, allocations: 0 / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.2655, allocations: 164.6 kB / 436.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2655, allocations: 0 / 436.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.2656, allocations: 19.98 kB / 436.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2656, allocations: 0 / 436.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2656, allocations: 7.938 kB / 436.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2656, allocations: 0 / 436.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2656, allocations: 4 kB / 436.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.2659, allocations: 195.4 kB / 436.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.2659, allocations: 7.984 kB / 436.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.2659, allocations: 3.938 kB / 436.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.266, allocations: 0 / 436.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.266, allocations: 4 kB / 436.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.266, allocations: 8.234 kB / 436.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.266, allocations: 83.28 kB / 436.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.266, allocations: 0 / 436.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.2663, allocations: 24 kB / 436.5 MB, free: 0.7891 MB / 334.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.0005503/0.2668, allocations: 0.7281 MB / 437.3 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.267, allocations: 52 kB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.267, allocations: 3.938 kB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.267, allocations: 19.98 kB / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2673, allocations: 8.625 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.2692, allocations: 1.55 MB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.2693, allocations: 83.19 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.307e-05/0.2693, allocations: 3.953 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.2694, allocations: 23.42 kB / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2694, allocations: 0 / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.3025, allocations: 2.34 MB / 441.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.34, allocations: 3.938 kB / 441.3 MB, free: 11.95 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.807531250175089]