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.0009796/0.0009793, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008351/0.0008352, allocations: 99.27 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002137/0.0002137, allocations: 12 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1822, allocations: 51.47 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09386/0.2761, allocations: 85.64 MB / 495 MB, free: 4.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.2763, allocations: 71.97 kB / 495.1 MB, free: 4.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04144/0.3178, allocations: 19.03 MB / 0.5021 GB, free: 1.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3178, allocations: 0 / 0.5021 GB, free: 1.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.145e-05/0.3179, allocations: 28 kB / 0.5021 GB, free: 1.57 MB / 378.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.001679/0.3196, allocations: 1.232 MB / 0.5033 GB, free: 292 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3196, allocations: 8.031 kB / 0.5033 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.32, allocations: 162.2 kB / 0.5035 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1446/0.4646, allocations: 0.6271 MB / 0.5041 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4647, allocations: 89.19 kB / 0.5042 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.465, allocations: 122.7 kB / 0.5043 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.4671, allocations: 1.251 MB / 0.5055 GB, free: 86.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.4672, allocations: 5.594 kB / 0.5055 GB, free: 86.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.4673, allocations: 53.22 kB / 0.5056 GB, free: 86.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.4673, allocations: 32.12 kB / 0.5056 GB, free: 86.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.4687, allocations: 0.693 MB / 0.5063 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.4739, allocations: 6.868 MB / 0.513 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.4745, allocations: 271.8 kB / 0.5133 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.4746, allocations: 86.67 kB / 0.5133 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4746, allocations: 36.09 kB / 0.5134 GB, free: 81.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.114e-06/0.4746, allocations: 0 / 0.5134 GB, free: 81.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002453/0.4771, allocations: 1.416 MB / 0.5148 GB, free: 80.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.4771, allocations: 80.08 kB / 0.5148 GB, free: 80.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/0.4778, allocations: 0.5645 MB / 0.5154 GB, free: 80.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4778, allocations: 29.39 kB / 0.5154 GB, free: 80.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.4781, allocations: 0.6836 MB / 0.5161 GB, free: 80.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.4781, allocations: 123.3 kB / 0.5162 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.4782, allocations: 19.03 kB / 0.5162 GB, free: 79.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.4782, allocations: 392.7 kB / 0.5166 GB, free: 79.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.4785, allocations: 146.2 kB / 0.5167 GB, free: 79.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.4788, allocations: 0.5455 MB / 0.5173 GB, free: 79.12 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.0004602/0.4793, allocations: 449.7 kB / 0.5177 GB, free: 78.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4793, allocations: 5.281 kB / 0.5177 GB, free: 78.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009634/0.4802, allocations: 0.7964 MB / 0.5185 GB, free: 78.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4803, allocations: 13.75 kB / 0.5185 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4803, allocations: 15.38 kB / 0.5185 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.4805, allocations: 84.11 kB / 0.5186 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.481, allocations: 181.5 kB / 0.5188 GB, free: 78.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.4824, allocations: 2.984 MB / 0.5217 GB, free: 75.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.4827, allocations: 35.5 kB / 0.5217 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.4828, allocations: 50.88 kB / 0.5218 GB, free: 75.8 MB / 378.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 () * Number of clocked 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.0002703/0.4831, allocations: 262.5 kB / 0.522 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.4832, allocations: 78.5 kB / 0.5221 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.4832, allocations: 68.3 kB / 0.5221 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.4833, allocations: 6.906 kB / 0.5221 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.4833, allocations: 3.953 kB / 0.5222 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4833, allocations: 3.719 kB / 0.5222 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.4846, allocations: 1.24 MB / 0.5234 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4846, allocations: 3.812 kB / 0.5234 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.4849, allocations: 75.2 kB / 0.5234 GB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.4851, allocations: 51.5 kB / 0.5235 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.4851, allocations: 9.469 kB / 0.5235 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.4862, allocations: 2.783 MB / 0.5262 GB, free: 71.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4863, allocations: 3.938 kB / 0.5262 GB, free: 71.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.4869, allocations: 0.6695 MB / 0.5269 GB, free: 71.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.487, allocations: 146 kB / 0.527 GB, free: 71.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.487, allocations: 15.41 kB / 0.527 GB, free: 71.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.4873, allocations: 19.38 kB / 0.527 GB, free: 71.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.4874, allocations: 25.97 kB / 0.5271 GB, free: 71.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4874, allocations: 7.281 kB / 0.5271 GB, free: 71.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003381/0.4877, allocations: 430.4 kB / 0.5275 GB, free: 71.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4877, allocations: 0 / 0.5275 GB, free: 71.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006834/0.4884, allocations: 160.3 kB / 0.5276 GB, free: 71.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked 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.0001154/0.4885, allocations: 119.5 kB / 0.5278 GB, free: 71.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007634/0.4893, allocations: 0.6557 MB / 0.5284 GB, free: 70.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4893, allocations: 0 / 0.5284 GB, free: 70.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.4897, allocations: 373.2 kB / 0.5288 GB, free: 70.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.49, allocations: 75.88 kB / 0.5288 GB, free: 70.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.4922, allocations: 2.296 MB / 0.5311 GB, free: 68.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.4925, allocations: 1.062 MB / 0.5321 GB, free: 68.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.4928, allocations: 90.27 kB / 0.5322 GB, free: 68.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.4929, allocations: 57.2 kB / 0.5322 GB, free: 68.13 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4929, allocations: 0 / 0.5322 GB, free: 68.13 MB / 378.7 MB Notification: Performance of Templates: time 0.0086/0.5015, allocations: 5.002 MB / 0.5371 GB, free: 67.43 MB / 378.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