Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.367/1.367, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008971/0.0008969, allocations: 95.62 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 11.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3922, allocations: 84.83 MB / 486.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.3924, allocations: 67.97 kB / 486.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04347/0.4359, allocations: 18.96 MB / 0.4935 GB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.436, allocations: 0 / 0.4935 GB, free: 8.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.367e-05/0.4361, allocations: 36 kB / 0.4935 GB, free: 8.301 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.001853/0.4379, allocations: 1.228 MB / 0.4947 GB, free: 7.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.438, allocations: 8.031 kB / 0.4947 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.4382, allocations: 142.3 kB / 0.4949 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.4391, allocations: 0.633 MB / 0.4955 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.4392, allocations: 90.41 kB / 0.4956 GB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.4393, allocations: 123.9 kB / 0.4957 GB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.4411, allocations: 1.252 MB / 0.4969 GB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.4412, allocations: 3.938 kB / 0.4969 GB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.4413, allocations: 52 kB / 0.497 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.4413, allocations: 32 kB / 0.497 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4425, allocations: 0.689 MB / 0.4977 GB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2232/0.6657, allocations: 6.844 MB / 0.5044 GB, free: 87.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.6666, allocations: 269.7 kB / 0.5046 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.6668, allocations: 87.14 kB / 0.5047 GB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6669, allocations: 37.83 kB / 0.5047 GB, free: 86.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.138e-06/0.6669, allocations: 5.297 kB / 0.5047 GB, free: 86.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003208/0.6701, allocations: 1.406 MB / 0.5061 GB, free: 86.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.6702, allocations: 85.86 kB / 0.5062 GB, free: 86.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6712, allocations: 0.5654 MB / 0.5068 GB, free: 85.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.6712, allocations: 31.86 kB / 0.5068 GB, free: 85.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.6717, allocations: 0.6848 MB / 0.5075 GB, free: 85.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.6718, allocations: 115.3 kB / 0.5076 GB, free: 85.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.6718, allocations: 17.22 kB / 0.5076 GB, free: 85.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.672, allocations: 389 kB / 0.508 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.6724, allocations: 147.7 kB / 0.5081 GB, free: 85.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.673, allocations: 0.548 MB / 0.5086 GB, free: 84.61 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.0006679/0.6737, allocations: 451.3 kB / 0.5091 GB, free: 84.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.6737, allocations: 4.625 kB / 0.5091 GB, free: 84.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001633/0.6753, allocations: 0.7954 MB / 0.5098 GB, free: 84.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.6754, allocations: 11.62 kB / 0.5099 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.6754, allocations: 14.25 kB / 0.5099 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.6757, allocations: 86.23 kB / 0.5099 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.6762, allocations: 187.4 kB / 0.5101 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.678, allocations: 2.989 MB / 0.513 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.6785, allocations: 35.36 kB / 0.5131 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.6786, allocations: 44.84 kB / 0.5131 GB, free: 81.63 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.0004897/0.6791, allocations: 271 kB / 0.5134 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.6792, allocations: 75.5 kB / 0.5135 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.6793, allocations: 71.47 kB / 0.5135 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6793, allocations: 7.734 kB / 0.5135 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.6793, allocations: 3.812 kB / 0.5135 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6793, allocations: 7.266 kB / 0.5135 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.681, allocations: 1.239 MB / 0.5147 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.6811, allocations: 0 / 0.5147 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.6814, allocations: 73.75 kB / 0.5148 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.6815, allocations: 56.41 kB / 0.5149 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.6816, allocations: 7.656 kB / 0.5149 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.6829, allocations: 2.781 MB / 0.5176 GB, free: 78.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6829, allocations: 128 / 0.5176 GB, free: 78.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.6837, allocations: 0.6781 MB / 0.5183 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.6838, allocations: 134.3 kB / 0.5184 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.6839, allocations: 9.906 kB / 0.5184 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.6842, allocations: 21.06 kB / 0.5184 GB, free: 77.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.6842, allocations: 23.64 kB / 0.5184 GB, free: 77.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.6843, allocations: 13.64 kB / 0.5185 GB, free: 77.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000446/0.6847, allocations: 427.3 kB / 0.5189 GB, free: 77.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6847, allocations: 0 / 0.5189 GB, free: 77.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009521/0.6857, allocations: 157.8 kB / 0.519 GB, free: 77.81 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.000174/0.6859, allocations: 118.9 kB / 0.5191 GB, free: 77.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.687, allocations: 0.6608 MB / 0.5198 GB, free: 77.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.687, allocations: 3.938 kB / 0.5198 GB, free: 77.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.6874, allocations: 356.2 kB / 0.5201 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.6879, allocations: 88.05 kB / 0.5202 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.6911, allocations: 2.305 MB / 0.5224 GB, free: 75.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.6919, allocations: 1.062 MB / 0.5235 GB, free: 75.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.6922, allocations: 83.44 kB / 0.5236 GB, free: 75.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.6924, allocations: 62.53 kB / 0.5236 GB, free: 75.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.123e-06/0.6924, allocations: 0 / 0.5236 GB, free: 75.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01196/0.7043, allocations: 5.003 MB / 0.5285 GB, free: 74.79 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches