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.001214/0.001214, allocations: 80.39 kB / 22.21 MB, free: 2.285 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.001235/0.001235, allocations: 164.5 kB / 25.6 MB, free: 8.891 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 1.169/1.169, allocations: 158.6 MB / 187.5 MB, free: 2.82 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 3.116e-06/3.116e-06, allocations: 0 / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.7e-05, allocations: 6.312 kB / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00745/0.007477, allocations: 5.534 MB / 257 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003538/0.01101, allocations: 1.66 MB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.01402, allocations: 43.69 kB / 258.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.0152, allocations: 249.5 kB / 259 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.01675, allocations: 249.3 kB / 259.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.01884, allocations: 0.5109 MB / 259.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.02174, allocations: 1.426 MB / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.02309, allocations: 416.3 kB / 261.6 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.02488, allocations: 0.7367 MB / 262.3 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.0259, allocations: 342.8 kB / 262.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.0262, allocations: 124 kB / 262.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.02648, allocations: 132 kB / 262.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.02668, allocations: 271 kB / 263.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.0272, allocations: 399 kB / 263.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.02848, allocations: 0.9375 MB / 264.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.02849, allocations: 4 kB / 264.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.02849, allocations: 0 / 264.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.586e-05/0.02855, allocations: 4 kB / 264.5 MB, free: 10.15 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.002075/0.03063, allocations: 1.524 MB / 266 MB, free: 8.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.03069, allocations: 8.031 kB / 266 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.03095, allocations: 247.1 kB / 266.3 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009307/0.03188, allocations: 0.7369 MB / 267 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.03193, allocations: 90.41 kB / 267.1 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.03208, allocations: 123.9 kB / 267.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.03345, allocations: 1.168 MB / 268.4 MB, free: 5.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.03348, allocations: 7.938 kB / 268.4 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.03354, allocations: 55.98 kB / 268.4 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.03356, allocations: 32 kB / 268.5 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.03419, allocations: 381.4 kB / 268.8 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.03937, allocations: 8.273 MB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.03976, allocations: 194.2 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.03993, allocations: 115.8 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.851e-05/0.04001, allocations: 15.94 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.04004, allocations: 41.39 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/0.04005, allocations: 0 / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001323/0.04137, allocations: 0.7917 MB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.04141, allocations: 85.09 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.04189, allocations: 0.6705 MB / 279 MB, free: 10.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.04191, allocations: 29.7 kB / 279 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/0.04231, allocations: 0.7548 MB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.04238, allocations: 123 kB / 279.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.04252, allocations: 156.1 kB / 280.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.04271, allocations: 0.5623 MB / 280.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/0.04281, allocations: 61.94 kB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.04322, allocations: 0.6602 MB / 281.4 MB, free: 8.129 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.0007869/0.044, allocations: 0.8416 MB / 282.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.04401, allocations: 4 kB / 282.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007297/0.04474, allocations: 0.6568 MB / 282.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.04476, allocations: 16.06 kB / 282.9 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.04478, allocations: 16 kB / 282.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.04497, allocations: 75.33 kB / 283 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.04527, allocations: 179.7 kB / 283.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.0475, allocations: 4.077 MB / 287.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.04777, allocations: 31.94 kB / 287.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.04781, allocations: 40 kB / 287.3 MB, free: 1.684 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.0002679/0.04808, allocations: 224.2 kB / 287.5 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.04816, allocations: 87.48 kB / 287.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.04823, allocations: 70.34 kB / 287.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.04824, allocations: 4 kB / 287.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.04824, allocations: 0 / 287.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.04825, allocations: 128 / 287.7 MB, free: 1.289 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.001119/0.04937, allocations: 0.9478 MB / 288.6 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.04937, allocations: 96 / 288.6 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.04955, allocations: 63.97 kB / 288.7 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.04969, allocations: 55.27 kB / 288.7 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.04971, allocations: 8 kB / 288.7 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.05157, allocations: 3.75 MB / 292.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.05157, allocations: 0 / 292.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.05211, allocations: 0.6067 MB / 293.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.05218, allocations: 59.48 kB / 293.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.05221, allocations: 8 kB / 293.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.05235, allocations: 20.02 kB / 293.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.05241, allocations: 31.89 kB / 293.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.05242, allocations: 4.062 kB / 293.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.05271, allocations: 390.8 kB / 293.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.05271, allocations: 0 / 293.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000784/0.05349, allocations: 156 kB / 293.7 MB, free: 10.88 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.000191/0.05368, allocations: 119.1 kB / 293.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000804/0.05449, allocations: 0.6592 MB / 294.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.05449, allocations: 0 / 294.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.05483, allocations: 443.2 kB / 295 MB, free: 9.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.05528, allocations: 76.47 kB / 295 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.05812, allocations: 1.691 MB / 296.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.05826, allocations: 177.8 kB / 296.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.05844, allocations: 81.94 kB / 297 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.05863, allocations: 190.1 kB / 297.2 MB, free: 7.301 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.05863, allocations: 0 / 297.2 MB, free: 7.301 MB / 282.7 MB Notification: Performance of Templates: time 0.0116/0.07023, allocations: 5.718 MB / 302.9 MB, free: 1.637 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.3036980843171477]