Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009894/0.0009894, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 169.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9894/0.9894, allocations: 177.2 MB / 206.1 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.124e-05, allocations: 6.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005672/0.005703, allocations: 5.591 MB / 279.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.008895, allocations: 1.706 MB / 281.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.009565, allocations: 39.69 kB / 281.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.01004, allocations: 253.5 kB / 281.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.01057, allocations: 245.4 kB / 282 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.01151, allocations: 0.5226 MB / 282.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.01266, allocations: 1.433 MB / 284 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.01319, allocations: 416.3 kB / 284.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.01397, allocations: 0.7445 MB / 285.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.01433, allocations: 346.8 kB / 285.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.01444, allocations: 124 kB / 285.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.01463, allocations: 140 kB / 285.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.01478, allocations: 270.9 kB / 286 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.01505, allocations: 395 kB / 286.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008744/0.01592, allocations: 0.9453 MB / 287.3 MB, free: 7.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01593, allocations: 0 / 287.3 MB, free: 7.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.01593, allocations: 0 / 287.3 MB, free: 7.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.01594, allocations: 0 / 287.3 MB, free: 7.207 MB / 266.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.001421/0.01736, allocations: 1.528 MB / 288.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.0174, allocations: 15.98 kB / 288.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.01774, allocations: 259 kB / 289.1 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.01853, allocations: 0.7447 MB / 289.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.01858, allocations: 90.41 kB / 290 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.0187, allocations: 127.9 kB / 290.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.01976, allocations: 1.168 MB / 291.3 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.0198, allocations: 11.94 kB / 291.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.01985, allocations: 48 kB / 291.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.01988, allocations: 35.98 kB / 291.4 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.02031, allocations: 381.4 kB / 291.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.02513, allocations: 8.269 MB / 300 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.02561, allocations: 198.5 kB / 300.2 MB, free: 9.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.02578, allocations: 123.3 kB / 300.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/0.02587, allocations: 19.92 kB / 300.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.02591, allocations: 33.39 kB / 300.4 MB, free: 9.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 4.058e-06/0.02591, allocations: 4 kB / 300.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001361/0.02727, allocations: 0.7757 MB / 301.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.02731, allocations: 81.11 kB / 301.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.02778, allocations: 0.6821 MB / 301.9 MB, free: 7.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.0278, allocations: 33.7 kB / 301.9 MB, free: 7.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.02822, allocations: 0.751 MB / 302.7 MB, free: 7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/0.0283, allocations: 123 kB / 302.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.02843, allocations: 156.1 kB / 303 MB, free: 6.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.02862, allocations: 0.5662 MB / 303.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.02871, allocations: 61.94 kB / 303.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/0.02932, allocations: 0.6523 MB / 304.2 MB, free: 5.156 MB / 282.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.0006488/0.02997, allocations: 0.8443 MB / 305.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.02998, allocations: 4 kB / 305.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007112/0.03069, allocations: 0.6639 MB / 305.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.03071, allocations: 8 kB / 305.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.03073, allocations: 16.81 kB / 305.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.03093, allocations: 83.27 kB / 305.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.03126, allocations: 175.7 kB / 306 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.03323, allocations: 4.073 MB / 310.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.03349, allocations: 35.92 kB / 310.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.03352, allocations: 40 kB / 310.2 MB, free: 14.71 MB / 298.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.03381, allocations: 224.1 kB / 310.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.03423, allocations: 91.47 kB / 310.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.0343, allocations: 66.36 kB / 310.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.0343, allocations: 4 kB / 310.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.03431, allocations: 4.031 kB / 310.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.03432, allocations: 3.984 kB / 310.6 MB, free: 14.3 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.03537, allocations: 0.9283 MB / 311.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.03537, allocations: 4 kB / 311.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.03555, allocations: 67.89 kB / 311.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.03568, allocations: 59.56 kB / 311.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.0357, allocations: 4 kB / 311.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.03729, allocations: 3.751 MB / 315.4 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.03729, allocations: 4.062 kB / 315.4 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.03778, allocations: 0.6035 MB / 316 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.03784, allocations: 67.47 kB / 316.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.03788, allocations: 8 kB / 316.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.03801, allocations: 12 kB / 316.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.03807, allocations: 27.95 kB / 316.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.03808, allocations: 7.984 kB / 316.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002488/0.03833, allocations: 394.8 kB / 316.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03833, allocations: 3.938 kB / 316.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006895/0.03902, allocations: 152 kB / 316.6 MB, free: 7.895 MB / 298.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.03917, allocations: 115.1 kB / 316.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.03984, allocations: 0.6603 MB / 317.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.03984, allocations: 4 kB / 317.4 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.04042, allocations: 435.2 kB / 317.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.04082, allocations: 77.8 kB / 317.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.04309, allocations: 1.717 MB / 319.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.04322, allocations: 174 kB / 319.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.04339, allocations: 85.92 kB / 319.9 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.04359, allocations: 190.1 kB / 320.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of SimCode: time 1.553e-06/0.04359, allocations: 0 / 320.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of Templates: time 0.01147/0.05505, allocations: 5.834 MB / 325.9 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.844403929077089]