Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002732, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009852/0.001917, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.018/1.018, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08355/1.102, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 4 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.234e-05, allocations: 3.859 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00792/0.007942, allocations: 5.657 MB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.01179, allocations: 1.725 MB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007657/0.01256, allocations: 39.75 kB / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.01298, allocations: 253.4 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008825/0.01387, allocations: 245.4 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.01469, allocations: 0.5069 MB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.01592, allocations: 1.402 MB / 249.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.01647, allocations: 432.2 kB / 249.8 MB, free: 8.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000825/0.01729, allocations: 0.7607 MB / 250.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.01766, allocations: 346.7 kB / 250.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.01778, allocations: 120 kB / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.01797, allocations: 136 kB / 251.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01809, allocations: 211.2 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.01838, allocations: 335.2 kB / 251.7 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.01923, allocations: 0.8753 MB / 252.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.186e-05/0.01925, allocations: 4 kB / 252.6 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01925, allocations: 0 / 252.6 MB, free: 6.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.01928, allocations: 0 / 252.6 MB, free: 6.07 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.001378/0.02066, allocations: 1.661 MB / 254.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.02069, allocations: 11.98 kB / 254.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.02085, allocations: 191.8 kB / 254.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/0.02166, allocations: 0.5665 MB / 255 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.02171, allocations: 94.41 kB / 255.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.869e-05/0.0218, allocations: 123.9 kB / 255.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008444/0.02264, allocations: 1.148 MB / 256.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.02267, allocations: 7.938 kB / 256.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.02272, allocations: 56 kB / 256.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.02274, allocations: 32 kB / 256.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.02309, allocations: 349.6 kB / 256.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.0265, allocations: 5.861 MB / 262.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.02681, allocations: 161 kB / 262.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.02695, allocations: 117.3 kB / 262.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.02702, allocations: 8 kB / 262.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.02704, allocations: 42.53 kB / 263 MB, free: 11.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.02705, allocations: 7.938 kB / 263 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001042/0.02809, allocations: 0.7077 MB / 263.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.02813, allocations: 81.11 kB / 263.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.02852, allocations: 0.6166 MB / 264.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.02854, allocations: 33.7 kB / 264.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.02878, allocations: 0.6206 MB / 265 MB, free: 8.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.02884, allocations: 123 kB / 265.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.02895, allocations: 154.5 kB / 265.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.02908, allocations: 398.5 kB / 265.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.02914, allocations: 57.97 kB / 265.8 MB, free: 8.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.0294, allocations: 484.2 kB / 266.2 MB, free: 7.488 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.0005451/0.02994, allocations: 0.6691 MB / 266.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.02994, allocations: 4 kB / 266.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005171/0.03046, allocations: 0.5538 MB / 267.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.03048, allocations: 12 kB / 267.5 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.0305, allocations: 16 kB / 267.5 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.03066, allocations: 69.69 kB / 267.6 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.03103, allocations: 215.8 kB / 267.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.03275, allocations: 2.774 MB / 270.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.03296, allocations: 35.94 kB / 270.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.03299, allocations: 32 kB / 270.6 MB, free: 2.727 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.0001938/0.03319, allocations: 177.5 kB / 270.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.03325, allocations: 51.94 kB / 270.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/0.03332, allocations: 74.34 kB / 270.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.03333, allocations: 4 kB / 270.9 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.03334, allocations: 4 kB / 270.9 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.03334, allocations: 3.938 kB / 270.9 MB, free: 2.406 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.0009181/0.03426, allocations: 0.7162 MB / 271.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.03427, allocations: 0 / 271.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.03448, allocations: 86.86 kB / 271.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.03453, allocations: 63.48 kB / 271.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.03463, allocations: 57.89 kB / 271.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.03465, allocations: 11.94 kB / 271.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.03576, allocations: 2.553 MB / 274.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.03577, allocations: 3.938 kB / 274.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.03612, allocations: 443.3 kB / 274.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.03615, allocations: 4 kB / 274.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.03627, allocations: 19.98 kB / 274.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.03632, allocations: 23.95 kB / 274.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.03633, allocations: 7.938 kB / 274.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.03653, allocations: 280.5 kB / 275.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03653, allocations: 0 / 275.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000558/0.03709, allocations: 155.9 kB / 275.3 MB, free: 13.75 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.0003634/0.03745, allocations: 91.09 kB / 275.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.03794, allocations: 0.5525 MB / 276 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.322e-05/0.03797, allocations: 21.81 kB / 276 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.03817, allocations: 310.7 kB / 276.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.03851, allocations: 111.3 kB / 276.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.04196, allocations: 1.815 MB / 278.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.04209, allocations: 197.9 kB / 278.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.04225, allocations: 86.02 kB / 278.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.04241, allocations: 155.3 kB / 278.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of SimCode: time 1.413e-06/0.04241, allocations: 0 / 278.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of Templates: time 0.01067/0.05308, allocations: 6.031 MB / 284.7 MB, free: 4.367 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.748859762214124]