Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008804/0.0008807, allocations: 179.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007553, allocations: 93.05 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.000307, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2567, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00278/0.2595, allocations: 2.578 MB / 377.1 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2609, allocations: 0.9407 MB / 378.1 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2611, allocations: 11.09 kB / 378.1 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2613, allocations: 67.52 kB / 378.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.2614, allocations: 82.11 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.2618, allocations: 141.8 kB / 378.4 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.2623, allocations: 495.4 kB / 378.8 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.2626, allocations: 153.5 kB / 379 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.2628, allocations: 132 kB / 379.1 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.263, allocations: 145.1 kB / 379.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.263, allocations: 13.62 kB / 379.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.2631, allocations: 19.69 kB / 379.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.2632, allocations: 61.28 kB / 379.4 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.2633, allocations: 107.9 kB / 379.5 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.2636, allocations: 410.9 kB / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2636, allocations: 0 / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2636, allocations: 3.938 kB / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.2636, allocations: 0 / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008039/0.2644, allocations: 0.6477 MB / 380.5 MB, free: 40.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2645, allocations: 10.31 kB / 380.5 MB, free: 40.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.464e-05/0.2646, allocations: 54 kB / 380.6 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.265, allocations: 389.8 kB / 381 MB, free: 40.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.265, allocations: 37.2 kB / 381 MB, free: 40.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.2651, allocations: 50.7 kB / 381 MB, free: 40.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.2658, allocations: 484.3 kB / 381.5 MB, free: 40 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.2659, allocations: 6.906 kB / 381.5 MB, free: 40 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.2659, allocations: 21.12 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.2659, allocations: 15.58 kB / 381.6 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.2664, allocations: 247.9 kB / 381.8 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.2681, allocations: 2.824 MB / 384.6 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2685, allocations: 166.8 kB / 384.8 MB, free: 37.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.2686, allocations: 76.8 kB / 384.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.2688, allocations: 84.91 kB / 385 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.2688, allocations: 36 kB / 385 MB, free: 36.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.2688, allocations: 0 / 385 MB, free: 36.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001195/0.27, allocations: 0.6321 MB / 385.6 MB, free: 36.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.27, allocations: 57.69 kB / 385.7 MB, free: 36.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.2704, allocations: 338 kB / 386 MB, free: 36.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2704, allocations: 26.73 kB / 386 MB, free: 36.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2705, allocations: 301.3 kB / 386.3 MB, free: 35.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.2706, allocations: 68.38 kB / 386.4 MB, free: 35.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.2706, allocations: 9.062 kB / 386.4 MB, free: 35.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.2707, allocations: 346.6 kB / 386.7 MB, free: 35.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.2708, allocations: 80.45 kB / 386.8 MB, free: 35.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.271, allocations: 216.3 kB / 387 MB, free: 35.13 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.2716, allocations: 276.5 kB / 387.3 MB, free: 34.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2716, allocations: 1.156 kB / 387.3 MB, free: 34.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005481/0.2722, allocations: 359.7 kB / 387.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2722, allocations: 7.406 kB / 387.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2722, allocations: 9.25 kB / 387.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.2724, allocations: 50.7 kB / 387.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.2726, allocations: 70.25 kB / 387.8 MB, free: 34.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000892/0.2735, allocations: 1.472 MB / 389.3 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.2737, allocations: 27.98 kB / 389.3 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2738, allocations: 18.66 kB / 389.3 MB, free: 33.19 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.2739, allocations: 166.5 kB / 389.5 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.274, allocations: 43.48 kB / 389.5 MB, free: 33.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.2741, allocations: 37.72 kB / 389.5 MB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2741, allocations: 5.469 kB / 389.6 MB, free: 32.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2741, allocations: 1.469 kB / 389.6 MB, free: 32.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2741, allocations: 0 / 389.6 MB, free: 32.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.2749, allocations: 0.715 MB / 390.3 MB, free: 32.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2749, allocations: 0 / 390.3 MB, free: 32.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.2751, allocations: 36.02 kB / 390.3 MB, free: 32.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/0.2752, allocations: 28.84 kB / 390.3 MB, free: 32.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2752, allocations: 4 kB / 390.3 MB, free: 32.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005611/0.2758, allocations: 1.332 MB / 391.7 MB, free: 30.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2758, allocations: 0 / 391.7 MB, free: 30.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.2762, allocations: 364.7 kB / 392 MB, free: 30.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.2762, allocations: 112.7 kB / 392.1 MB, free: 30.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.2763, allocations: 0 / 392.1 MB, free: 30.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2764, allocations: 19.89 kB / 392.2 MB, free: 30.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2765, allocations: 11.97 kB / 392.2 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.2765, allocations: 8 kB / 392.2 MB, free: 30.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.2767, allocations: 231.2 kB / 392.4 MB, free: 30.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2767, allocations: 0 / 392.4 MB, free: 30.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004231/0.2771, allocations: 68 kB / 392.5 MB, free: 29.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.2772, allocations: 107 kB / 392.6 MB, free: 29.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.2778, allocations: 319.7 kB / 392.9 MB, free: 29.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2778, allocations: 0 / 392.9 MB, free: 29.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.278, allocations: 178.6 kB / 393.1 MB, free: 29.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.2784, allocations: 37.55 kB / 393.1 MB, free: 29.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.2797, allocations: 1.08 MB / 394.2 MB, free: 28.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2799, allocations: 0.8262 MB / 395 MB, free: 27.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.167e-05/0.28, allocations: 31.42 kB / 395 MB, free: 27.3 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.28, allocations: 0 / 395 MB, free: 27.3 MB / 298.7 MB Notification: Performance of Templates: time 0.00622/0.2862, allocations: 6.282 MB / 401.3 MB, free: 21.01 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches