Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 176 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007923/0.0007926, allocations: 100.1 kB / 292.6 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002912, allocations: 15.94 kB / 352.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.215, allocations: 50.4 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08945/0.3045, allocations: 80.17 MB / 482.9 MB, free: 160 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.3047, allocations: 75.97 kB / 483 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.3235, allocations: 7.902 MB / 490.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3235, allocations: 0 / 490.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.3235, allocations: 15.98 kB / 490.9 MB, free: 8.055 MB / 362.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.0008915/0.3244, allocations: 0.6548 MB / 491.6 MB, free: 7.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3245, allocations: 8.031 kB / 491.6 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.3246, allocations: 56.28 kB / 491.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.3251, allocations: 376.8 kB / 492 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.3251, allocations: 33.38 kB / 492 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.3252, allocations: 36.38 kB / 492.1 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.3259, allocations: 492.3 kB / 492.5 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.326, allocations: 4.125 kB / 492.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.326, allocations: 23.94 kB / 492.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.326, allocations: 12 kB / 492.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.3265, allocations: 246.2 kB / 492.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.3288, allocations: 2.801 MB / 495.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.3292, allocations: 162.6 kB / 495.8 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.3293, allocations: 76.81 kB / 495.9 MB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.3295, allocations: 85.09 kB / 495.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3295, allocations: 34.55 kB / 496 MB, free: 2.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.3295, allocations: 0 / 496 MB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001234/0.3308, allocations: 0.6295 MB / 496.6 MB, free: 1.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.3308, allocations: 55.34 kB / 496.7 MB, free: 1.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.3312, allocations: 349.5 kB / 497 MB, free: 1.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3312, allocations: 33.7 kB / 497 MB, free: 1.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3314, allocations: 302.9 kB / 497.3 MB, free: 1.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.3314, allocations: 67.09 kB / 497.4 MB, free: 1.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.3314, allocations: 4 kB / 497.4 MB, free: 1.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3316, allocations: 350.7 kB / 497.7 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3317, allocations: 63.97 kB / 497.8 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.332, allocations: 227.7 kB / 498 MB, free: 428 kB / 362.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.0009448/0.3329, allocations: 0.511 MB / 498.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3329, allocations: 0 / 498.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005681/0.3335, allocations: 365.8 kB / 498.9 MB, free: 15.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3335, allocations: 14.44 kB / 498.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3335, allocations: 4 kB / 498.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.3337, allocations: 36.78 kB / 498.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3339, allocations: 75.91 kB / 499 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3351, allocations: 1.46 MB / 0.4887 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3352, allocations: 19.98 kB / 0.4888 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3353, allocations: 20.06 kB / 0.4888 GB, free: 13.69 MB / 378.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.0001961/0.3355, allocations: 169.7 kB / 0.4889 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.3355, allocations: 39.47 kB / 0.489 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.3356, allocations: 39.59 kB / 0.489 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3356, allocations: 4.031 kB / 0.489 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3356, allocations: 4 kB / 0.489 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3356, allocations: 0 / 0.489 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/0.3365, allocations: 0.6677 MB / 0.4897 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3365, allocations: 4 kB / 0.4897 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3367, allocations: 31.98 kB / 0.4897 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-05/0.3368, allocations: 20.84 kB / 0.4897 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3369, allocations: 12.03 kB / 0.4897 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008463/0.3377, allocations: 1.312 MB / 0.491 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3377, allocations: 0 / 0.491 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.3382, allocations: 368.6 kB / 0.4914 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.3383, allocations: 104.7 kB / 0.4915 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3383, allocations: 7.984 kB / 0.4915 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3384, allocations: 20 kB / 0.4915 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3385, allocations: 8.266 kB / 0.4915 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3385, allocations: 8 kB / 0.4915 GB, free: 10.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002156/0.3387, allocations: 235.2 kB / 0.4917 GB, free: 10.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3387, allocations: 3.938 kB / 0.4917 GB, free: 10.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000393/0.3391, allocations: 68 kB / 0.4918 GB, free: 10.34 MB / 378.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.0001193/0.3393, allocations: 107.2 kB / 0.4919 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.3398, allocations: 318.1 kB / 0.4922 GB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3398, allocations: 0 / 0.4922 GB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.34, allocations: 190.6 kB / 0.4924 GB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3404, allocations: 45.22 kB / 0.4924 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3418, allocations: 1.032 MB / 0.4935 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3422, allocations: 0.8187 MB / 0.4942 GB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3423, allocations: 39.27 kB / 0.4943 GB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.3424, allocations: 31.44 kB / 0.4943 GB, free: 7.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3424, allocations: 0 / 0.4943 GB, free: 7.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005828/0.3482, allocations: 2.483 MB / 0.4967 GB, free: 5.219 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches