Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 168.5 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.031/1.031, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.5e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005862/0.005877, allocations: 5.608 MB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.009065, allocations: 1.71 MB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.009573, allocations: 43.69 kB / 280.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.01001, allocations: 249.6 kB / 281 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.01045, allocations: 241.4 kB / 281.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009176/0.01136, allocations: 0.5226 MB / 281.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.01252, allocations: 1.433 MB / 283.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.01307, allocations: 420.3 kB / 283.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.01385, allocations: 0.7407 MB / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.0142, allocations: 338.8 kB / 284.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.01434, allocations: 124 kB / 284.8 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.01455, allocations: 147.9 kB / 284.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.01471, allocations: 274.9 kB / 285.2 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.015, allocations: 394.9 kB / 285.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008426/0.01584, allocations: 0.9453 MB / 286.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01584, allocations: 0 / 286.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01584, allocations: 0 / 286.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.01585, allocations: 0 / 286.5 MB, free: 3.973 MB / 266.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.001711/0.01757, allocations: 1.528 MB / 288 MB, free: 2.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.0176, allocations: 12.03 kB / 288 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.01795, allocations: 255 kB / 288.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.0188, allocations: 0.7448 MB / 289 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.01886, allocations: 86.41 kB / 289.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.01898, allocations: 127.9 kB / 289.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1274/0.1463, allocations: 1.165 MB / 290.4 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/0.1464, allocations: 8.906 kB / 290.4 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.094e-05/0.1465, allocations: 55.31 kB / 290.5 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.1465, allocations: 32.27 kB / 290.5 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.1474, allocations: 378 kB / 290.9 MB, free: 25.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.1518, allocations: 8.259 MB / 299.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.1522, allocations: 196.3 kB / 299.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.1524, allocations: 119.6 kB / 299.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-05/0.1524, allocations: 15.42 kB / 299.5 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1525, allocations: 40.39 kB / 299.5 MB, free: 18.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.346e-06/0.1525, allocations: 2.797 kB / 299.5 MB, free: 18.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001299/0.1538, allocations: 0.787 MB / 300.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.1538, allocations: 80.55 kB / 300.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/0.1544, allocations: 0.6812 MB / 301 MB, free: 17.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1544, allocations: 34.08 kB / 301.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.1548, allocations: 0.7543 MB / 301.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.1549, allocations: 125.4 kB / 302 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.1553, allocations: 152.6 kB / 302.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1554, allocations: 0.5591 MB / 302.7 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1555, allocations: 61.81 kB / 302.7 MB, free: 16.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.1558, allocations: 0.6557 MB / 303.4 MB, free: 15.75 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.0006497/0.1565, allocations: 0.8328 MB / 304.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.1565, allocations: 7.578 kB / 304.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008579/0.1573, allocations: 0.6725 MB / 304.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.1574, allocations: 18.25 kB / 304.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.1574, allocations: 15.77 kB / 304.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.1576, allocations: 76.19 kB / 305 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.158, allocations: 176.2 kB / 305.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.1595, allocations: 4.082 MB / 309.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1598, allocations: 30.61 kB / 309.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.1598, allocations: 37.56 kB / 309.3 MB, free: 10.53 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.0002099/0.1601, allocations: 224.3 kB / 309.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.1602, allocations: 88.34 kB / 309.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.94e-05/0.1602, allocations: 70.3 kB / 309.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1602, allocations: 4.062 kB / 309.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.1603, allocations: 5.094 kB / 309.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1603, allocations: 2.859 kB / 309.7 MB, free: 10.23 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.001289/0.1615, allocations: 0.9337 MB / 310.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1616, allocations: 3.219 kB / 310.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1618, allocations: 70.22 kB / 310.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.1619, allocations: 53.88 kB / 310.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.1619, allocations: 7.672 kB / 310.8 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.163, allocations: 3.75 MB / 314.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.163, allocations: 6.578 kB / 314.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.1635, allocations: 0.6071 MB / 315.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.1635, allocations: 65.67 kB / 315.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.1636, allocations: 7.906 kB / 315.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1637, allocations: 18.36 kB / 315.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.1638, allocations: 28.75 kB / 315.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1638, allocations: 6.703 kB / 315.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003198/0.1641, allocations: 391.8 kB / 315.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1641, allocations: 0 / 315.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00107/0.1652, allocations: 154.9 kB / 315.8 MB, free: 5.223 MB / 266.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.0001094/0.1653, allocations: 104.7 kB / 315.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.166, allocations: 0.6639 MB / 316.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.166, allocations: 5 kB / 316.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1662, allocations: 438 kB / 317 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.1667, allocations: 76.39 kB / 317.1 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.1692, allocations: 1.705 MB / 318.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.1694, allocations: 172.5 kB / 318.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.1696, allocations: 86.94 kB / 319 MB, free: 3.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.1698, allocations: 185.8 kB / 319.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1698, allocations: 0 / 319.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of Templates: time 0.01115/0.1809, allocations: 5.726 MB / 324.9 MB, free: 15.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8403606433421373]