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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 67.88 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.261, allocations: 50.55 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002756/0.2638, allocations: 1.642 MB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.2647, allocations: 0.5338 MB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.2648, allocations: 11.94 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.2648, allocations: 11.86 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.2649, allocations: 27.77 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.2651, allocations: 31.91 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.2653, allocations: 95.59 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2654, allocations: 35.97 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.2655, allocations: 35.86 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.2656, allocations: 47.84 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2656, allocations: 8 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.2657, allocations: 8 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.2657, allocations: 19.92 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.2658, allocations: 47.84 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.266, allocations: 98.62 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.266, allocations: 0 / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.266, allocations: 3.938 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.266, allocations: 0 / 411.5 MB, free: 14.82 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.000511/0.2665, allocations: 383.2 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2666, allocations: 15.97 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.2666, allocations: 42.67 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2667, allocations: 12.89 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.2669, allocations: 176.3 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2669, allocations: 8.375 kB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.2669, allocations: 8.375 kB / 412.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.2671, allocations: 89.72 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2671, allocations: 0 / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2671, allocations: 8 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2672, allocations: 4 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2673, allocations: 54.38 kB / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.268, allocations: 396.5 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.2681, allocations: 66.56 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.2682, allocations: 40.84 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2682, allocations: 0 / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2682, allocations: 34.5 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.2682, allocations: 0 / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002026/0.2685, allocations: 85.86 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2685, allocations: 51.41 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.2686, allocations: 113.9 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.2686, allocations: 29.7 kB / 413 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.2687, allocations: 104 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.2687, allocations: 35.88 kB / 413.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.2688, allocations: 25.72 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2689, allocations: 314.8 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.269, allocations: 23.98 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.269, allocations: 46.5 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.2692, allocations: 66.58 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2692, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001617/0.2693, allocations: 113.5 kB / 413.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2693, allocations: 4 kB / 413.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2694, allocations: 0 / 413.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2694, allocations: 7.938 kB / 413.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2695, allocations: 27.92 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2695, allocations: 4.062 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.2696, allocations: 8.312 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2696, allocations: 8 kB / 413.8 MB, free: 12.21 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 8.344e-05/0.2697, allocations: 113.8 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.2697, allocations: 7.953 kB / 413.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.2697, allocations: 12.31 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2697, allocations: 0 / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2698, allocations: 4 kB / 414 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2698, allocations: 0 / 414 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.27, allocations: 185.6 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.27, allocations: 4 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.2701, allocations: 27.92 kB / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2701, allocations: 0 / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.2701, allocations: 7.875 kB / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2701, allocations: 4 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2701, allocations: 0 / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.2704, allocations: 191.5 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.2704, allocations: 89 kB / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2705, allocations: 8 kB / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.2705, allocations: 4.031 kB / 414.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.2705, allocations: 3.984 kB / 414.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2706, allocations: 4 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.677e-05/0.2706, allocations: 87.22 kB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2706, allocations: 0 / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.2709, allocations: 20 kB / 414.6 MB, free: 11.36 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.0005198/0.2714, allocations: 0.7203 MB / 415.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.2715, allocations: 63.84 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2715, allocations: 0 / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.2716, allocations: 27.94 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2719, allocations: 0 / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.2735, allocations: 1.546 MB / 416.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2738, allocations: 0.7038 MB / 417.6 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.2738, allocations: 15.94 kB / 417.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.2739, allocations: 19.44 kB / 417.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2739, allocations: 0 / 417.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2972, allocations: 1.788 MB / 419.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.136, allocations: 12.56 kB / 419.5 MB, free: 6.406 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/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) Reference file matches