Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009706/0.0009706, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001601/0.001601, allocations: 166.2 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.106/1.106, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.513e-05, allocations: 5.125 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005433/0.005458, allocations: 5.596 MB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.008352, allocations: 1.706 MB / 280.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006988/0.00905, allocations: 47.69 kB / 280.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.009528, allocations: 249.5 kB / 281 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.01011, allocations: 241.3 kB / 281.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01111, allocations: 0.5304 MB / 281.8 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.01242, allocations: 1.426 MB / 283.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.01297, allocations: 408.3 kB / 283.6 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.01418, allocations: 0.7445 MB / 284.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.01456, allocations: 342.8 kB / 284.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.01467, allocations: 124 kB / 284.8 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.01485, allocations: 144 kB / 285 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.01498, allocations: 271 kB / 285.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.01525, allocations: 402.9 kB / 285.6 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008277/0.01607, allocations: 0.9413 MB / 286.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01608, allocations: 0 / 286.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01608, allocations: 0 / 286.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.0161, allocations: 0 / 286.5 MB, free: 4.039 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.00139/0.01749, allocations: 1.536 MB / 288.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.01753, allocations: 8.031 kB / 288.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.01782, allocations: 259 kB / 288.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.01856, allocations: 0.7525 MB / 289.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.0186, allocations: 86.41 kB / 289.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.0187, allocations: 123.9 kB / 289.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1261/0.1448, allocations: 1.164 MB / 290.5 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.1448, allocations: 9.109 kB / 290.5 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.1449, allocations: 54.53 kB / 290.5 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.1449, allocations: 31.62 kB / 290.6 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.1456, allocations: 378 kB / 290.9 MB, free: 25.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.149, allocations: 8.262 MB / 299.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1494, allocations: 197.8 kB / 299.4 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1496, allocations: 122.5 kB / 299.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/0.1496, allocations: 9.641 kB / 299.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1497, allocations: 41.84 kB / 299.6 MB, free: 18.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.1497, allocations: 2.469 kB / 299.6 MB, free: 18.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001157/0.1508, allocations: 0.7812 MB / 300.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.1508, allocations: 84.95 kB / 300.4 MB, free: 17.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.1514, allocations: 0.6818 MB / 301.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1514, allocations: 33.14 kB / 301.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.1517, allocations: 0.7562 MB / 301.9 MB, free: 17.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.1518, allocations: 119.3 kB / 302 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1519, allocations: 152 kB / 302.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1521, allocations: 0.5679 MB / 302.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.1522, allocations: 61.78 kB / 302.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.1524, allocations: 0.6521 MB / 303.4 MB, free: 15.82 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.0005635/0.153, allocations: 0.8362 MB / 304.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.153, allocations: 8.344 kB / 304.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007377/0.1537, allocations: 0.6646 MB / 304.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.1538, allocations: 12.44 kB / 305 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.1538, allocations: 14.22 kB / 305 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.154, allocations: 80.97 kB / 305.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.1543, allocations: 179.2 kB / 305.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.1557, allocations: 4.084 MB / 309.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.156, allocations: 29.95 kB / 309.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.156, allocations: 41 kB / 309.4 MB, free: 10.61 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.0002243/0.1562, allocations: 219 kB / 309.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.1563, allocations: 87.2 kB / 309.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.1564, allocations: 73.88 kB / 309.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1564, allocations: 3.125 kB / 309.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.1564, allocations: 5.969 kB / 309.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1564, allocations: 6.797 kB / 309.8 MB, free: 10.3 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.001065/0.1575, allocations: 0.9368 MB / 310.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1575, allocations: 1.312 kB / 310.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1577, allocations: 63.52 kB / 310.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.1578, allocations: 56.17 kB / 310.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1578, allocations: 10.64 kB / 310.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.1592, allocations: 3.749 MB / 314.6 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1592, allocations: 5.969 kB / 314.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.1596, allocations: 0.5999 MB / 315.2 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.1597, allocations: 67.19 kB / 315.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1597, allocations: 6.844 kB / 315.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1598, allocations: 18.84 kB / 315.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.1599, allocations: 33.34 kB / 315.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1599, allocations: 6.516 kB / 315.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.1602, allocations: 388.8 kB / 315.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1602, allocations: 0 / 315.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007566/0.161, allocations: 155.1 kB / 315.8 MB, free: 5.301 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.0001221/0.1611, allocations: 108.3 kB / 316 MB, free: 5.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000688/0.1618, allocations: 0.6708 MB / 316.6 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1618, allocations: 1.219 kB / 316.6 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.162, allocations: 432.7 kB / 317 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.1625, allocations: 83.38 kB / 317.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1648, allocations: 1.708 MB / 318.8 MB, free: 3.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.165, allocations: 179 kB / 319 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1652, allocations: 89.14 kB / 319.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.1654, allocations: 183.3 kB / 319.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of SimCode: time 1.673e-06/0.1654, allocations: 0 / 319.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of Templates: time 0.01041/0.1758, allocations: 5.728 MB / 325 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.913675358053297]