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.00109/0.00109, allocations: 199.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009093/0.0009094, allocations: 95.47 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3117, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4476, allocations: 85.62 MB / 495 MB, free: 5.895 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.448, allocations: 72.5 kB / 495.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04949/0.4975, allocations: 19.02 MB / 0.502 GB, free: 2.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4975, allocations: 0 / 0.502 GB, free: 2.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000126/0.4977, allocations: 35.98 kB / 0.5021 GB, free: 2.477 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.002963/0.5006, allocations: 1.213 MB / 0.5033 GB, free: 1.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.5007, allocations: 16.03 kB / 0.5033 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/0.5013, allocations: 167.2 kB / 0.5034 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.5027, allocations: 0.6689 MB / 0.5041 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/0.5028, allocations: 86.78 kB / 0.5042 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.503, allocations: 120.3 kB / 0.5043 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2524/0.7554, allocations: 1.259 MB / 0.5055 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.7555, allocations: 10.17 kB / 0.5055 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.7556, allocations: 53.72 kB / 0.5056 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.7557, allocations: 30.91 kB / 0.5056 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.7575, allocations: 0.69 MB / 0.5063 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/0.764, allocations: 6.861 MB / 0.513 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.7648, allocations: 271.7 kB / 0.5132 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.7652, allocations: 178.5 kB / 0.5134 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.7654, allocations: 83.03 kB / 0.5135 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.7655, allocations: 34.84 kB / 0.5135 GB, free: 82.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 5.44e-06/0.7655, allocations: 2.609 kB / 0.5135 GB, free: 82.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003117/0.7686, allocations: 1.415 MB / 0.5149 GB, free: 81.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.7687, allocations: 83.42 kB / 0.515 GB, free: 81.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008929/0.7696, allocations: 0.6582 MB / 0.5156 GB, free: 81.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.7696, allocations: 28.7 kB / 0.5157 GB, free: 81.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.7699, allocations: 0.6794 MB / 0.5163 GB, free: 80.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.77, allocations: 115.5 kB / 0.5164 GB, free: 80.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.7701, allocations: 16.44 kB / 0.5164 GB, free: 80.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7702, allocations: 388.8 kB / 0.5168 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.7705, allocations: 145.2 kB / 0.517 GB, free: 80.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.7709, allocations: 0.5491 MB / 0.5175 GB, free: 79.92 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.001105/0.772, allocations: 0.967 MB / 0.5184 GB, free: 79.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7721, allocations: 3.562 kB / 0.5184 GB, free: 79.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001153/0.7732, allocations: 0.7909 MB / 0.5192 GB, free: 78.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.7733, allocations: 7.625 kB / 0.5192 GB, free: 78.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.7733, allocations: 18.5 kB / 0.5192 GB, free: 78.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.7735, allocations: 92.2 kB / 0.5193 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.774, allocations: 182 kB / 0.5195 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.7757, allocations: 2.972 MB / 0.5224 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.7762, allocations: 37.7 kB / 0.5224 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.7763, allocations: 42.28 kB / 0.5225 GB, free: 76.19 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.0005107/0.7768, allocations: 281.5 kB / 0.5227 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/0.7769, allocations: 74.22 kB / 0.5228 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.777, allocations: 68.73 kB / 0.5229 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.777, allocations: 3.969 kB / 0.5229 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.777, allocations: 7.812 kB / 0.5229 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.777, allocations: 3.609 kB / 0.5229 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.7786, allocations: 1.241 MB / 0.5241 GB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7786, allocations: 3.406 kB / 0.5241 GB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.7789, allocations: 67.58 kB / 0.5242 GB, free: 75.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.779, allocations: 55.88 kB / 0.5242 GB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.7791, allocations: 10.81 kB / 0.5242 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.7804, allocations: 2.763 MB / 0.5269 GB, free: 72.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7804, allocations: 3.938 kB / 0.5269 GB, free: 72.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.7811, allocations: 0.6399 MB / 0.5276 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.7812, allocations: 139.1 kB / 0.5277 GB, free: 71.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.7812, allocations: 7.938 kB / 0.5277 GB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.7815, allocations: 23.53 kB / 0.5277 GB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.7815, allocations: 22.88 kB / 0.5277 GB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.7816, allocations: 12.81 kB / 0.5278 GB, free: 71.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004121/0.782, allocations: 431.7 kB / 0.5282 GB, free: 71.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.782, allocations: 3.938 kB / 0.5282 GB, free: 71.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009386/0.7829, allocations: 159.3 kB / 0.5283 GB, free: 71.56 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.0001458/0.7831, allocations: 116.9 kB / 0.5284 GB, free: 71.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009471/0.784, allocations: 0.6604 MB / 0.5291 GB, free: 71.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.7841, allocations: 0 / 0.5291 GB, free: 71.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.7845, allocations: 366.8 kB / 0.5294 GB, free: 70.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.7851, allocations: 81.47 kB / 0.5295 GB, free: 70.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.7878, allocations: 2.309 MB / 0.5318 GB, free: 69.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.7883, allocations: 1.037 MB / 0.5328 GB, free: 68.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.7886, allocations: 89.88 kB / 0.5329 GB, free: 68.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.7887, allocations: 57.86 kB / 0.5329 GB, free: 68.54 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.7887, allocations: 0 / 0.5329 GB, free: 68.54 MB / 378.7 MB Notification: Performance of Templates: time 0.01098/0.7997, allocations: 5.04 MB / 0.5378 GB, free: 67.89 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/jenkins1/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