Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001617/0.001617, allocations: 85.95 kB / 23 MB, free: 1.504 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.001843/0.001843, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9838/0.9838, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 3.938 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.241e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.0106/0.01062, allocations: 5.539 MB / 257.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.0137, allocations: 1.668 MB / 259.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.01428, allocations: 39.75 kB / 259.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.01477, allocations: 253.5 kB / 259.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.01528, allocations: 245.3 kB / 260 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009617/0.01624, allocations: 0.5147 MB / 260.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.01756, allocations: 1.422 MB / 261.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006439/0.0182, allocations: 416.3 kB / 262.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008438/0.01905, allocations: 0.7368 MB / 263.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.01945, allocations: 342.8 kB / 263.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.01958, allocations: 124 kB / 263.5 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.01977, allocations: 139.9 kB / 263.7 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.01994, allocations: 267 kB / 263.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.02026, allocations: 402.9 kB / 264.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009477/0.02121, allocations: 0.9336 MB / 265.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.02121, allocations: 0 / 265.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02121, allocations: 4 kB / 265.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.02123, allocations: 0 / 265.3 MB, free: 10.16 MB / 250.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.002252/0.02348, allocations: 1.524 MB / 266.8 MB, free: 8.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.02352, allocations: 12.03 kB / 266.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.02374, allocations: 247.1 kB / 267 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.02445, allocations: 0.7253 MB / 267.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.02449, allocations: 86.41 kB / 267.9 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.02459, allocations: 131.9 kB / 268 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009291/0.02552, allocations: 1.168 MB / 269.1 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.02555, allocations: 11.92 kB / 269.2 MB, free: 5.957 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.02561, allocations: 52 kB / 269.2 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.02563, allocations: 32 kB / 269.2 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.02604, allocations: 373.5 kB / 269.6 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.0304, allocations: 8.273 MB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.0308, allocations: 198.2 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.03097, allocations: 119.4 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.03103, allocations: 15.98 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.03106, allocations: 41.39 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.03106, allocations: 0 / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001114/0.03217, allocations: 0.7861 MB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.03221, allocations: 85.05 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.03262, allocations: 0.6705 MB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.03264, allocations: 33.64 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/0.03323, allocations: 0.7548 MB / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.0333, allocations: 123 kB / 280.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.03342, allocations: 148.1 kB / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.03357, allocations: 0.5662 MB / 281.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.03365, allocations: 61.94 kB / 281.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.03397, allocations: 0.6523 MB / 282.1 MB, free: 8.16 MB / 266.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.0006011/0.03457, allocations: 0.8495 MB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.03457, allocations: 4 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006304/0.0352, allocations: 0.6606 MB / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.03522, allocations: 12 kB / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.03523, allocations: 16.09 kB / 283.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.0354, allocations: 75.34 kB / 283.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.0357, allocations: 187.7 kB / 283.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.03784, allocations: 4.065 MB / 288 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.03806, allocations: 39.94 kB / 288 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.03808, allocations: 32 kB / 288.1 MB, free: 1.711 MB / 266.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.000217/0.0383, allocations: 216.4 kB / 288.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.03838, allocations: 87.48 kB / 288.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.03845, allocations: 78.41 kB / 288.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03845, allocations: 4 kB / 288.4 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.03846, allocations: 4.141 kB / 288.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.03847, allocations: 7.922 kB / 288.4 MB, free: 1.305 MB / 266.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.0009456/0.03941, allocations: 0.9399 MB / 289.4 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03942, allocations: 4 kB / 289.4 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.03958, allocations: 60.06 kB / 289.4 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.03969, allocations: 63.27 kB / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.0397, allocations: 8 kB / 289.5 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.04114, allocations: 3.742 MB / 293.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.04114, allocations: 0 / 293.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.04156, allocations: 0.6066 MB / 293.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.04161, allocations: 59.48 kB / 293.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.04164, allocations: 12.05 kB / 293.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.04177, allocations: 16 kB / 293.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.04183, allocations: 35.92 kB / 294 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.04184, allocations: 8 kB / 294 MB, free: 11.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.04206, allocations: 386.8 kB / 294.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04206, allocations: 0 / 294.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009173/0.04298, allocations: 156 kB / 294.5 MB, free: 10.9 MB / 282.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.000127/0.04311, allocations: 111.2 kB / 294.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.04367, allocations: 0.6636 MB / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.04368, allocations: 0 / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.04391, allocations: 440.8 kB / 295.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.04426, allocations: 71.98 kB / 295.8 MB, free: 9.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.04648, allocations: 1.691 MB / 297.5 MB, free: 7.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.04665, allocations: 177.8 kB / 297.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.04681, allocations: 89.91 kB / 297.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.04698, allocations: 190.1 kB / 297.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/0.04698, allocations: 0 / 297.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of Templates: time 0.01048/0.05746, allocations: 5.842 MB / 303.8 MB, free: 1.527 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.0602384372614324]