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.001184/0.001184, allocations: 176.4 kB / 17.4 MB, free: 4.301 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.682/1.682, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.0008489/0.0008488, allocations: 97.47 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 11.94 kB / 352.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.317, allocations: 50.4 MB / 402.7 MB, free: 32.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.4691, allocations: 84.9 MB / 487.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.4695, allocations: 71.95 kB / 487.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04662/0.5162, allocations: 18.96 MB / 0.4948 GB, free: 8.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5162, allocations: 7.938 kB / 0.4948 GB, free: 8.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001068/0.5163, allocations: 31.98 kB / 0.4948 GB, free: 8.102 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.002875/0.5192, allocations: 1.224 MB / 0.496 GB, free: 6.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5193, allocations: 8.031 kB / 0.496 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.5197, allocations: 139.2 kB / 0.4962 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.521, allocations: 0.6611 MB / 0.4968 GB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.5211, allocations: 90.78 kB / 0.4969 GB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.5213, allocations: 124.3 kB / 0.497 GB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.5239, allocations: 1.264 MB / 0.4983 GB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.5239, allocations: 11.88 kB / 0.4983 GB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.5241, allocations: 48 kB / 0.4983 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.5241, allocations: 32 kB / 0.4984 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.5258, allocations: 0.6929 MB / 0.499 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2981/0.824, allocations: 6.852 MB / 0.5057 GB, free: 86.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.8248, allocations: 271.4 kB / 0.506 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.8252, allocations: 173.8 kB / 0.5061 GB, free: 86.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.8254, allocations: 89.98 kB / 0.5062 GB, free: 86.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.8254, allocations: 36.7 kB / 0.5063 GB, free: 86.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.569e-06/0.8255, allocations: 1.062 kB / 0.5063 GB, free: 86.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002621/0.8281, allocations: 1.405 MB / 0.5076 GB, free: 85.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.8282, allocations: 84.62 kB / 0.5077 GB, free: 85.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/0.829, allocations: 0.657 MB / 0.5084 GB, free: 85.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.829, allocations: 30.98 kB / 0.5084 GB, free: 85.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.8295, allocations: 0.6829 MB / 0.5091 GB, free: 85.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.459e-05/0.8296, allocations: 119.6 kB / 0.5092 GB, free: 85.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.8297, allocations: 12.69 kB / 0.5092 GB, free: 85.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8298, allocations: 387.3 kB / 0.5096 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.8301, allocations: 146.1 kB / 0.5097 GB, free: 85.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.8306, allocations: 0.5524 MB / 0.5102 GB, free: 84.49 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: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v ($START.directCapacitor1.currentToVoltage.y = $START.inverseCapacitor1.capacitor.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i ($START.directInductor3.currentToVoltage.y = $START.inverseInductor3.inductor.i) Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.8316, allocations: 0.9705 MB / 0.5112 GB, free: 83.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.8316, allocations: 6.938 kB / 0.5112 GB, free: 83.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001427/0.833, allocations: 0.7878 MB / 0.512 GB, free: 83.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.8331, allocations: 8.156 kB / 0.512 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.8331, allocations: 16.16 kB / 0.512 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.8333, allocations: 87.66 kB / 0.5121 GB, free: 83.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.8338, allocations: 180.7 kB / 0.5122 GB, free: 83.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.8357, allocations: 2.975 MB / 0.5151 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.8362, allocations: 38.7 kB / 0.5152 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.8362, allocations: 41.5 kB / 0.5152 GB, free: 80.93 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: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i. 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.000485/0.8367, allocations: 270.1 kB / 0.5155 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.8368, allocations: 76.12 kB / 0.5155 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.8369, allocations: 71.45 kB / 0.5156 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.8369, allocations: 6.891 kB / 0.5156 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.837, allocations: 7.594 kB / 0.5156 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.837, allocations: 0 / 0.5156 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.8386, allocations: 1.246 MB / 0.5168 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.8386, allocations: 2.688 kB / 0.5168 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.8389, allocations: 67.11 kB / 0.5169 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.8391, allocations: 59.94 kB / 0.517 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.8391, allocations: 15.09 kB / 0.517 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.8405, allocations: 2.757 MB / 0.5197 GB, free: 77.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8405, allocations: 3.938 kB / 0.5197 GB, free: 77.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.8412, allocations: 0.6423 MB / 0.5203 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.8413, allocations: 134.6 kB / 0.5204 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.8414, allocations: 12.39 kB / 0.5204 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.8416, allocations: 14.12 kB / 0.5205 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.8417, allocations: 33.53 kB / 0.5205 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.8418, allocations: 16.41 kB / 0.5205 GB, free: 77.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004705/0.8422, allocations: 428.4 kB / 0.5209 GB, free: 77.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8422, allocations: 0 / 0.5209 GB, free: 77.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001013/0.8433, allocations: 155.1 kB / 0.5211 GB, free: 77.12 MB / 378.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 () * 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.0001936/0.8435, allocations: 115.7 kB / 0.5212 GB, free: 77.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.8445, allocations: 0.6646 MB / 0.5218 GB, free: 76.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8446, allocations: 7.656 kB / 0.5218 GB, free: 76.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.8449, allocations: 359.8 kB / 0.5222 GB, free: 76.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.8456, allocations: 74.97 kB / 0.5222 GB, free: 76.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.849, allocations: 2.316 MB / 0.5245 GB, free: 75.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.8495, allocations: 1.036 MB / 0.5255 GB, free: 74.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.8498, allocations: 85.58 kB / 0.5256 GB, free: 74.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.8499, allocations: 54.89 kB / 0.5257 GB, free: 74.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.004e-06/0.85, allocations: 4 kB / 0.5257 GB, free: 74.38 MB / 378.7 MB Notification: Performance of Templates: time 0.01267/0.8626, allocations: 5.036 MB / 0.5306 GB, free: 74.11 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/jenkins1/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