Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 94.62 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.03e-05, allocations: 4 kB / 350.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 51.49 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4347, allocations: 85.57 MB / 487.6 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.4349, allocations: 77.91 kB / 487.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04494/0.4799, allocations: 19.01 MB / 0.4948 GB, free: 2.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.669e-06/0.4799, allocations: 0 / 0.4948 GB, free: 2.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.4801, allocations: 35.94 kB / 0.4948 GB, free: 2.371 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002986/0.4831, allocations: 1.139 MB / 0.4959 GB, free: 1.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4832, allocations: 12.03 kB / 0.496 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006251/0.4838, allocations: 165.9 kB / 0.4961 GB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.4851, allocations: 0.6292 MB / 0.4967 GB, free: 352 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/0.4853, allocations: 90.41 kB / 0.4968 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.4855, allocations: 120 kB / 0.4969 GB, free: 140 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.4884, allocations: 1.221 MB / 0.4981 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/0.4885, allocations: 9.062 kB / 0.4981 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.4887, allocations: 56 kB / 0.4982 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.4887, allocations: 36 kB / 0.4982 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.4902, allocations: 0.6415 MB / 0.4988 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006555/0.4968, allocations: 6.854 MB / 0.5055 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.4975, allocations: 251.7 kB / 0.5058 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.4978, allocations: 175.1 kB / 0.5059 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.4979, allocations: 81.11 kB / 0.506 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.498, allocations: 46.48 kB / 0.5061 GB, free: 6.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.885e-06/0.498, allocations: 0 / 0.5061 GB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002236/0.5002, allocations: 1.276 MB / 0.5073 GB, free: 4.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.5003, allocations: 81.11 kB / 0.5074 GB, free: 4.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/0.501, allocations: 0.5663 MB / 0.5079 GB, free: 4.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.501, allocations: 29.7 kB / 0.508 GB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.5014, allocations: 0.6772 MB / 0.5086 GB, free: 3.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.5015, allocations: 118.4 kB / 0.5087 GB, free: 3.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.5016, allocations: 20 kB / 0.5088 GB, free: 3.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5018, allocations: 382.8 kB / 0.5091 GB, free: 2.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.502, allocations: 133.8 kB / 0.5093 GB, free: 2.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.5025, allocations: 0.526 MB / 0.5098 GB, free: 2.074 MB / 378.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: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.5032, allocations: 427 kB / 0.5102 GB, free: 1.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.5032, allocations: 4 kB / 0.5102 GB, free: 1.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001224/0.5044, allocations: 0.7578 MB / 0.5109 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5044, allocations: 9.875 kB / 0.5109 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.5045, allocations: 20 kB / 0.511 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.5047, allocations: 81.64 kB / 0.511 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.5053, allocations: 185.7 kB / 0.5112 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.5078, allocations: 2.963 MB / 0.5141 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.5082, allocations: 40.05 kB / 0.5141 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.5083, allocations: 44 kB / 0.5142 GB, free: 13.24 MB / 394.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.5084, allocations: 172.7 kB / 0.5143 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5085, allocations: 75.11 kB / 0.5144 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.5087, allocations: 70.53 kB / 0.5145 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5087, allocations: 4 kB / 0.5145 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5087, allocations: 0 / 0.5145 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5087, allocations: 0 / 0.5145 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.5105, allocations: 1.224 MB / 0.5157 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5105, allocations: 7.953 kB / 0.5157 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.5108, allocations: 63.91 kB / 0.5158 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.511, allocations: 53.78 kB / 0.5158 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.511, allocations: 11.98 kB / 0.5158 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.5128, allocations: 2.761 MB / 0.5185 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.5128, allocations: 8.016 kB / 0.5185 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007652/0.5136, allocations: 0.6443 MB / 0.5191 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5138, allocations: 140.2 kB / 0.5193 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.5138, allocations: 8 kB / 0.5193 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.5141, allocations: 20.55 kB / 0.5193 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.5142, allocations: 31.86 kB / 0.5193 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.5142, allocations: 8 kB / 0.5193 GB, free: 7.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005398/0.5147, allocations: 427.2 kB / 0.5198 GB, free: 7.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5147, allocations: 0 / 0.5198 GB, free: 7.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008724/0.5156, allocations: 156 kB / 0.5199 GB, free: 6.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001755/0.5158, allocations: 106 kB / 0.52 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009296/0.5167, allocations: 0.6241 MB / 0.5206 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5168, allocations: 0 / 0.5206 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.5172, allocations: 351.5 kB / 0.5209 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5176, allocations: 76.61 kB / 0.521 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.5198, allocations: 1.355 MB / 0.5223 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.5204, allocations: 1.058 MB / 0.5234 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002931/0.5207, allocations: 90 kB / 0.5235 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5208, allocations: 59.42 kB / 0.5235 GB, free: 3.133 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5208, allocations: 0 / 0.5235 GB, free: 3.133 MB / 394.7 MB Notification: Performance of Templates: time 0.01088/0.5317, allocations: 5.022 MB / 0.5284 GB, free: 14.19 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches