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.001435/0.001435, allocations: 175 kB / 16.72 MB, free: 5.082 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.341/1.341, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007844/0.0007844, allocations: 88.92 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2778, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002775/0.2806, allocations: 2.583 MB / 377.7 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.282, allocations: 0.9484 MB / 378.6 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2822, allocations: 10.53 kB / 378.6 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.2824, allocations: 66.52 kB / 378.7 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.2826, allocations: 82.11 kB / 378.8 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.283, allocations: 142.4 kB / 378.9 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004879/0.2835, allocations: 0.4948 MB / 379.4 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.2838, allocations: 198.8 kB / 379.6 MB, free: 41.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.284, allocations: 141.2 kB / 379.7 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2842, allocations: 140.3 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.2842, allocations: 13.44 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.2843, allocations: 24.62 kB / 379.9 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.2844, allocations: 57.39 kB / 380 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2845, allocations: 211.1 kB / 380.2 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.2848, allocations: 402.2 kB / 380.6 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2848, allocations: 1.156 kB / 380.6 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2848, allocations: 3.938 kB / 380.6 MB, free: 41.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.2849, allocations: 0 / 380.6 MB, free: 41.29 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.0007579/0.2856, allocations: 0.6502 MB / 381.2 MB, free: 40.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2857, allocations: 9.438 kB / 381.2 MB, free: 40.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.2858, allocations: 63.83 kB / 381.3 MB, free: 40.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.2862, allocations: 405.4 kB / 381.7 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.2862, allocations: 29.91 kB / 381.7 MB, free: 40.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.2863, allocations: 38.47 kB / 381.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.2869, allocations: 492.4 kB / 382.2 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.287, allocations: 6.016 kB / 382.2 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.287, allocations: 17.47 kB / 382.3 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.287, allocations: 15.81 kB / 382.3 MB, free: 39.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.2875, allocations: 248.5 kB / 382.5 MB, free: 39.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.2891, allocations: 2.839 MB / 385.4 MB, free: 37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.2894, allocations: 170.7 kB / 385.5 MB, free: 36.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.2896, allocations: 68.12 kB / 385.6 MB, free: 36.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.2897, allocations: 89.28 kB / 385.7 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2897, allocations: 35.94 kB / 385.7 MB, free: 36.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2898, allocations: 1.344 kB / 385.7 MB, free: 36.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001163/0.2909, allocations: 0.6293 MB / 386.3 MB, free: 36.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.291, allocations: 53.75 kB / 386.4 MB, free: 36.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.2913, allocations: 338.6 kB / 386.7 MB, free: 35.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2913, allocations: 29.7 kB / 386.7 MB, free: 35.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.2914, allocations: 305.6 kB / 387 MB, free: 35.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.2915, allocations: 67.64 kB / 387.1 MB, free: 35.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.2915, allocations: 6.281 kB / 387.1 MB, free: 35.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.2915, allocations: 346.4 kB / 387.5 MB, free: 35.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2917, allocations: 76.47 kB / 387.5 MB, free: 35.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.2919, allocations: 220.1 kB / 387.7 MB, free: 34.97 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: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/0.2927, allocations: 0.5239 MB / 388.3 MB, free: 34.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2927, allocations: 2 kB / 388.3 MB, free: 34.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005649/0.2933, allocations: 365.7 kB / 388.6 MB, free: 34.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2933, allocations: 8.219 kB / 388.6 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2934, allocations: 5.094 kB / 388.6 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.2935, allocations: 37.25 kB / 388.7 MB, free: 34.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.2937, allocations: 70.62 kB / 388.7 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009742/0.2947, allocations: 1.473 MB / 390.2 MB, free: 32.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2949, allocations: 19.94 kB / 390.2 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.295, allocations: 24.06 kB / 390.3 MB, free: 32.75 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: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. 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.0001507/0.2951, allocations: 174 kB / 390.4 MB, free: 32.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.2952, allocations: 39.53 kB / 390.5 MB, free: 32.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.2952, allocations: 39.53 kB / 390.5 MB, free: 32.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2952, allocations: 0 / 390.5 MB, free: 32.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2952, allocations: 4 kB / 390.5 MB, free: 32.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2952, allocations: 7.922 kB / 390.5 MB, free: 32.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007625/0.296, allocations: 0.709 MB / 391.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.296, allocations: 0 / 391.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.2962, allocations: 39.97 kB / 391.3 MB, free: 31.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-05/0.2963, allocations: 24.8 kB / 391.3 MB, free: 31.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2963, allocations: 4 kB / 391.3 MB, free: 31.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006024/0.2969, allocations: 1.331 MB / 392.6 MB, free: 30.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2969, allocations: 0 / 392.6 MB, free: 30.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.2973, allocations: 374.8 kB / 393 MB, free: 29.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2974, allocations: 108.7 kB / 393.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2974, allocations: 3.938 kB / 393.1 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.2975, allocations: 20.03 kB / 393.1 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.2976, allocations: 7.984 kB / 393.1 MB, free: 29.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.2976, allocations: 11.94 kB / 393.1 MB, free: 29.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.2978, allocations: 231.2 kB / 393.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2978, allocations: 0 / 393.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000385/0.2982, allocations: 68 kB / 393.4 MB, free: 29.32 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 9.369e-05/0.2983, allocations: 99.03 kB / 393.5 MB, free: 29.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004883/0.2988, allocations: 317.7 kB / 393.8 MB, free: 28.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2988, allocations: 0 / 393.8 MB, free: 28.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.299, allocations: 186.6 kB / 394 MB, free: 28.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2993, allocations: 41.5 kB / 394.1 MB, free: 28.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3005, allocations: 1.08 MB / 395.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3008, allocations: 0.8223 MB / 396 MB, free: 26.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.3009, allocations: 31.42 kB / 396 MB, free: 26.66 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3009, allocations: 0 / 396 MB, free: 26.66 MB / 298.7 MB Notification: Performance of Templates: time 0.006507/0.3074, allocations: 6.299 MB / 402.3 MB, free: 20.35 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