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.001015/0.001015, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001286/0.001286, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.026/1.026, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.853e-06/1.853e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.48e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005525/0.005549, allocations: 5.674 MB / 256.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.008744, allocations: 1.676 MB / 258.4 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.00942, allocations: 39.75 kB / 258.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.009829, allocations: 249.5 kB / 258.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.01021, allocations: 233.5 kB / 258.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.01109, allocations: 0.5071 MB / 259.4 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.01221, allocations: 1.437 MB / 260.9 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.01273, allocations: 420.2 kB / 261.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008655/0.01359, allocations: 0.7173 MB / 262 MB, free: 8.574 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.0139, allocations: 346.7 kB / 262.3 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.01401, allocations: 128 kB / 262.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.01417, allocations: 132 kB / 262.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.01431, allocations: 278.9 kB / 262.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.01455, allocations: 398.9 kB / 263.2 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.0153, allocations: 0.9297 MB / 264.2 MB, free: 6.383 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01531, allocations: 4 kB / 264.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01531, allocations: 0 / 264.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.01532, allocations: 0 / 264.2 MB, free: 6.379 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.001372/0.01669, allocations: 1.513 MB / 265.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.01673, allocations: 8.031 kB / 265.7 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.01693, allocations: 247.1 kB / 265.9 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.0177, allocations: 0.7292 MB / 266.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.01775, allocations: 90.41 kB / 266.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.01786, allocations: 127.9 kB / 266.9 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.01902, allocations: 1.235 MB / 268.1 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.01905, allocations: 7.938 kB / 268.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.01911, allocations: 52 kB / 268.2 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.01913, allocations: 32 kB / 268.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.01989, allocations: 458.8 kB / 268.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.02424, allocations: 8.405 MB / 277.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.02468, allocations: 202.3 kB / 277.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.02489, allocations: 131.8 kB / 277.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.025, allocations: 12 kB / 277.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.02503, allocations: 37.39 kB / 277.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.676e-06/0.02503, allocations: 3.984 kB / 277.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001445/0.02648, allocations: 1.148 MB / 278.6 MB, free: 7.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.02651, allocations: 85.09 kB / 278.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.027, allocations: 0.6709 MB / 279.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.02702, allocations: 33.7 kB / 279.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.02734, allocations: 0.7471 MB / 280.1 MB, free: 5.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.02741, allocations: 119 kB / 280.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.02753, allocations: 152.2 kB / 280.4 MB, free: 5.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.0277, allocations: 0.5585 MB / 280.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.02781, allocations: 85.94 kB / 281 MB, free: 4.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.02818, allocations: 0.6719 MB / 281.7 MB, free: 3.699 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.0008377/0.02902, allocations: 0.8541 MB / 282.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.02903, allocations: 8 kB / 282.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007399/0.02977, allocations: 0.7076 MB / 283.3 MB, free: 1.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.02979, allocations: 12 kB / 283.3 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.0298, allocations: 16 kB / 283.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.03005, allocations: 75.28 kB / 283.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.03036, allocations: 179.7 kB / 283.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.03292, allocations: 4.127 MB / 287.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.03313, allocations: 35.98 kB / 287.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.03318, allocations: 40 kB / 287.7 MB, free: 13.11 MB / 282.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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000254/0.03343, allocations: 220.3 kB / 288 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.03353, allocations: 91.47 kB / 288.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.03361, allocations: 70.36 kB / 288.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.03362, allocations: 3.938 kB / 288.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.03363, allocations: 4 kB / 288.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.03364, allocations: 3.984 kB / 288.1 MB, free: 12.71 MB / 282.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.001026/0.03466, allocations: 1.08 MB / 289.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03467, allocations: 4.031 kB / 289.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.03483, allocations: 67.89 kB / 289.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.03495, allocations: 55.33 kB / 289.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.03497, allocations: 11.94 kB / 289.3 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.03666, allocations: 3.807 MB / 293.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.03666, allocations: 0 / 293.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.03712, allocations: 0.6262 MB / 293.8 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.03717, allocations: 67.47 kB / 293.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.03719, allocations: 4 kB / 293.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.03731, allocations: 24 kB / 293.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.03737, allocations: 23.95 kB / 293.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.03739, allocations: 15.98 kB / 293.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.03767, allocations: 407 kB / 294.3 MB, free: 6.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03767, allocations: 0 / 294.3 MB, free: 6.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000503/0.03818, allocations: 156 kB / 294.5 MB, free: 6.027 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.0001237/0.0383, allocations: 111.7 kB / 294.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000669/0.03897, allocations: 0.685 MB / 295.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.03897, allocations: 0 / 295.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.03924, allocations: 448.4 kB / 295.7 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.0396, allocations: 75.34 kB / 295.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.04177, allocations: 1.71 MB / 297.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.04189, allocations: 181.8 kB / 297.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.04203, allocations: 81.94 kB / 297.7 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.04211, allocations: 52.48 kB / 297.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04211, allocations: 7.938 kB / 297.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of Templates: time 0.1587/0.2008, allocations: 5.276 MB / 303.1 MB, free: 53.89 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.1793302432633936]