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.001185/0.001185, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2379, allocations: 50.54 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002317/0.2402, allocations: 1.635 MB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007472/0.241, allocations: 0.5494 MB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.241, allocations: 0 / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.2411, allocations: 11.86 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.2412, allocations: 31.77 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.2414, allocations: 27.91 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2415, allocations: 99.58 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2416, allocations: 31.97 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.2417, allocations: 43.86 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.2418, allocations: 35.84 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2418, allocations: 8 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.2419, allocations: 23.98 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.2419, allocations: 11.94 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.2419, allocations: 43.86 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.2421, allocations: 101.4 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2421, allocations: 3.938 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2421, allocations: 0 / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.2421, allocations: 0 / 411.4 MB, free: 14.88 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.0004475/0.2425, allocations: 383.3 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2426, allocations: 8.031 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.2426, allocations: 46.75 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.2428, allocations: 12.83 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2429, allocations: 168.3 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2429, allocations: 8.312 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.243, allocations: 12.28 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2432, allocations: 96.12 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2432, allocations: 0 / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2432, allocations: 4 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.2432, allocations: 4 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.2433, allocations: 47.97 kB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.2439, allocations: 400.4 kB / 412.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.244, allocations: 66.56 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.2441, allocations: 32.84 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.2441, allocations: 0 / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2441, allocations: 42.5 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.2441, allocations: 0 / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001837/0.2443, allocations: 93.75 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2444, allocations: 51.41 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.2445, allocations: 109.8 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2445, allocations: 25.7 kB / 413 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.2445, allocations: 103.8 kB / 413.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.2446, allocations: 27.64 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.2446, allocations: 29.72 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2447, allocations: 322.8 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.2448, allocations: 15.98 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.2448, allocations: 50.5 kB / 413.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.088e-05/0.2449, allocations: 66.58 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2449, allocations: 3.938 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001354/0.2451, allocations: 101.5 kB / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2451, allocations: 6.969 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2451, allocations: 0 / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2451, allocations: 7.938 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2452, allocations: 32.17 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2452, allocations: 0 / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.2453, allocations: 11.91 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.2453, allocations: 4 kB / 413.7 MB, free: 12.29 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.262e-05/0.2454, allocations: 125.8 kB / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.2454, allocations: 3.984 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.2455, allocations: 16.3 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2455, allocations: 4 kB / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2455, allocations: 0 / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2455, allocations: 0 / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2457, allocations: 189.5 kB / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2457, allocations: 0 / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.2458, allocations: 19.94 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2458, allocations: 11.88 kB / 414.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2458, allocations: 11.94 kB / 414.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2458, allocations: 0 / 414.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2458, allocations: 3.984 kB / 414.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.246, allocations: 183.8 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.246, allocations: 88.94 kB / 414.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.2461, allocations: 7.969 kB / 414.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.2461, allocations: 4 kB / 414.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.2462, allocations: 4.062 kB / 414.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.2462, allocations: 4 kB / 414.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.757e-05/0.2462, allocations: 91.2 kB / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2462, allocations: 0 / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.2464, allocations: 20 kB / 414.5 MB, free: 11.42 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.000406/0.2469, allocations: 0.7164 MB / 415.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.247, allocations: 71.89 kB / 415.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.247, allocations: 0 / 415.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.247, allocations: 27.92 kB / 415.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2473, allocations: 8 kB / 415.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2487, allocations: 1.539 MB / 416.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.249, allocations: 0.6999 MB / 417.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.249, allocations: 11.95 kB / 417.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.2491, allocations: 27.42 kB / 417.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2491, allocations: 0 / 417.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.2663, allocations: 1.808 MB / 419.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.373, allocations: 8.562 kB / 419.4 MB, free: 6.445 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.0.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