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.001755/0.001755, allocations: 89.02 kB / 21.44 MB, free: 276 kB / 14.72 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.002212/0.002212, allocations: 160.9 kB / 24.7 MB, free: 3.531 MB / 14.72 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.372/1.372, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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 2.295e-06/2.295e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.065e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007526/0.007557, allocations: 5.226 MB / 304.2 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.01163, allocations: 1.656 MB / 305.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.01282, allocations: 39.75 kB / 305.9 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009323/0.01375, allocations: 253.5 kB / 306.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.01492, allocations: 229.5 kB / 306.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.01628, allocations: 0.5071 MB / 306.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.01852, allocations: 1.422 MB / 308.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/0.01942, allocations: 420.2 kB / 308.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.02081, allocations: 0.7211 MB / 309.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.02136, allocations: 338.7 kB / 309.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.02154, allocations: 124 kB / 309.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.02179, allocations: 139.9 kB / 310 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.02204, allocations: 270.9 kB / 310.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004852/0.02253, allocations: 391 kB / 310.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.02436, allocations: 1.627 MB / 312.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.02437, allocations: 0 / 312.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.02437, allocations: 0 / 312.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.02439, allocations: 0 / 312.3 MB, free: 11.3 MB / 302.1 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.002272/0.02666, allocations: 1.413 MB / 313.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.0267, allocations: 12.03 kB / 313.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.02692, allocations: 147.1 kB / 313.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.02814, allocations: 0.6796 MB / 314.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.02822, allocations: 90.34 kB / 314.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.02839, allocations: 127.9 kB / 314.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.03055, allocations: 1.314 MB / 316.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.03059, allocations: 7.938 kB / 316.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-05/0.03068, allocations: 52 kB / 316.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.03072, allocations: 35.98 kB / 316.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.03207, allocations: 0.689 MB / 316.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1659/0.198, allocations: 6.266 MB / 323.1 MB, free: 32.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.1989, allocations: 247.6 kB / 323.3 MB, free: 32.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.1993, allocations: 161.6 kB / 323.5 MB, free: 32.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.1994, allocations: 8.25 kB / 323.5 MB, free: 32.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1994, allocations: 38.47 kB / 323.5 MB, free: 32.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.815e-06/0.1994, allocations: 2.781 kB / 323.6 MB, free: 32.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002795/0.2022, allocations: 1.264 MB / 324.8 MB, free: 32.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.2023, allocations: 81.36 kB / 324.9 MB, free: 32.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.2034, allocations: 0.6805 MB / 325.6 MB, free: 32.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.2034, allocations: 31.56 kB / 325.6 MB, free: 32.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/0.204, allocations: 0.6987 MB / 326.3 MB, free: 31.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2041, allocations: 123.2 kB / 326.4 MB, free: 31.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.2044, allocations: 148.4 kB / 326.6 MB, free: 31.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2046, allocations: 391.5 kB / 327 MB, free: 31.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.2049, allocations: 142.5 kB / 327.1 MB, free: 31.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.2055, allocations: 0.5559 MB / 327.6 MB, free: 30.47 MB / 302.1 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.001126/0.2066, allocations: 0.8095 MB / 328.5 MB, free: 29.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.2066, allocations: 5.375 kB / 328.5 MB, free: 29.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001594/0.2082, allocations: 0.7882 MB / 329.3 MB, free: 29.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.2082, allocations: 10.47 kB / 329.3 MB, free: 29.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.2083, allocations: 17.36 kB / 329.3 MB, free: 29.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.2086, allocations: 89.81 kB / 329.4 MB, free: 29.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.2091, allocations: 183.6 kB / 329.5 MB, free: 29.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.2111, allocations: 3.049 MB / 332.6 MB, free: 26.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.2116, allocations: 37.44 kB / 332.6 MB, free: 26.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.2117, allocations: 39.44 kB / 332.7 MB, free: 26.45 MB / 302.1 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.0005808/0.2123, allocations: 274.9 kB / 332.9 MB, free: 26.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.2124, allocations: 74.16 kB / 333 MB, free: 26.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2126, allocations: 74.7 kB / 333.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.2126, allocations: 3.594 kB / 333.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.2126, allocations: 5.031 kB / 333.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.2126, allocations: 2.672 kB / 333.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.2143, allocations: 1.055 MB / 334.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2143, allocations: 0.9688 kB / 334.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.2146, allocations: 64.84 kB / 334.2 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.2148, allocations: 59.92 kB / 334.3 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.2148, allocations: 12.97 kB / 334.3 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.2162, allocations: 2.788 MB / 337.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2162, allocations: 1.125 kB / 337.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.2171, allocations: 0.6333 MB / 337.7 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.2171, allocations: 64.98 kB / 337.8 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.2172, allocations: 13.52 kB / 337.8 MB, free: 22.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.2174, allocations: 15.55 kB / 337.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.2175, allocations: 29.16 kB / 337.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2175, allocations: 12.33 kB / 337.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004962/0.218, allocations: 430.6 kB / 338.3 MB, free: 22.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.218, allocations: 0 / 338.3 MB, free: 22.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009457/0.219, allocations: 155.3 kB / 338.4 MB, free: 22.09 MB / 302.1 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.0001412/0.2191, allocations: 109.3 kB / 338.5 MB, free: 21.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.2202, allocations: 0.6387 MB / 339.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2202, allocations: 2.094 kB / 339.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.2206, allocations: 358.4 kB / 339.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.2212, allocations: 80.67 kB / 339.6 MB, free: 21.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.2238, allocations: 1.708 MB / 341.3 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.2243, allocations: 451.5 kB / 341.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.2246, allocations: 84.34 kB / 341.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2247, allocations: 60.97 kB / 341.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2247, allocations: 0 / 341.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01174/0.2364, allocations: 5.208 MB / 347.1 MB, free: 18.4 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.462643928825855]