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.0009975/0.0009975, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001037/0.001037, allocations: 165 kB / 24.56 MB, free: 4 kB / 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 0.9983/0.9983, allocations: 177.1 MB / 205 MB, free: 5.633 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 2.384e-06/2.384e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.544e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005672/0.005707, allocations: 5.747 MB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.008891, allocations: 1.718 MB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/0.009659, allocations: 43.69 kB / 280.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.01017, allocations: 249.6 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006205/0.01079, allocations: 229.5 kB / 281 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.012, allocations: 0.5304 MB / 281.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.0135, allocations: 1.422 MB / 282.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.01414, allocations: 412.3 kB / 283.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.0151, allocations: 0.7406 MB / 284.1 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.01552, allocations: 342.8 kB / 284.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.01566, allocations: 124 kB / 284.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.01587, allocations: 140 kB / 284.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.01602, allocations: 271 kB / 284.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.01631, allocations: 394.9 kB / 285.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.01729, allocations: 0.9492 MB / 286.3 MB, free: 4.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.0173, allocations: 3.938 kB / 286.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.0173, allocations: 0 / 286.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.362e-05/0.01733, allocations: 0 / 286.3 MB, free: 4.184 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.001775/0.01911, allocations: 1.517 MB / 287.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.01917, allocations: 8.031 kB / 287.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004956/0.01966, allocations: 259 kB / 288 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.02063, allocations: 0.7486 MB / 288.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.02069, allocations: 86.41 kB / 288.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.02081, allocations: 127.9 kB / 289 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1393/0.1601, allocations: 1.235 MB / 290.2 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.1602, allocations: 7.094 kB / 290.2 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.1603, allocations: 54.22 kB / 290.3 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.1603, allocations: 31.44 kB / 290.3 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1614, allocations: 452.7 kB / 290.8 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.166, allocations: 8.397 MB / 299.2 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.1666, allocations: 208.5 kB / 299.4 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.1669, allocations: 126.1 kB / 299.5 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.167, allocations: 13.72 kB / 299.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.167, allocations: 40.33 kB / 299.5 MB, free: 18.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.985e-06/0.167, allocations: 0.8125 kB / 299.5 MB, free: 18.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001825/0.1688, allocations: 1.143 MB / 300.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1689, allocations: 85.58 kB / 300.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.1697, allocations: 0.6845 MB / 301.5 MB, free: 17.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1697, allocations: 32.02 kB / 301.5 MB, free: 17.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.17, allocations: 0.7495 MB / 302.2 MB, free: 17.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.1701, allocations: 121.1 kB / 302.4 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1703, allocations: 150.2 kB / 302.5 MB, free: 16.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1704, allocations: 0.5513 MB / 303 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.1706, allocations: 83.86 kB / 303.1 MB, free: 16.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.171, allocations: 0.6658 MB / 303.8 MB, free: 15.55 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.00102/0.1721, allocations: 0.8569 MB / 304.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.1721, allocations: 3.531 kB / 304.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001037/0.1731, allocations: 0.7153 MB / 305.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.1731, allocations: 12.03 kB / 305.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.1732, allocations: 14 kB / 305.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.1736, allocations: 87.94 kB / 305.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.1741, allocations: 187.2 kB / 305.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.1761, allocations: 4.125 MB / 309.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.1765, allocations: 30.39 kB / 309.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.1765, allocations: 48.03 kB / 309.9 MB, free: 10.2 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,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003021/0.1768, allocations: 222.3 kB / 310.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1769, allocations: 87.75 kB / 310.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.177, allocations: 74.47 kB / 310.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.177, allocations: 4.25 kB / 310.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.177, allocations: 2.312 kB / 310.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.177, allocations: 2.688 kB / 310.3 MB, free: 9.898 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.001589/0.1786, allocations: 1.081 MB / 311.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1786, allocations: 3.938 kB / 311.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1788, allocations: 64.41 kB / 311.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.179, allocations: 56.45 kB / 311.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.179, allocations: 8.219 kB / 311.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.1804, allocations: 3.798 MB / 315.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1804, allocations: 7.203 kB / 315.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.181, allocations: 0.6313 MB / 315.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.181, allocations: 67.58 kB / 316 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.181, allocations: 9.922 kB / 316 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1812, allocations: 14.05 kB / 316 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.1812, allocations: 28.72 kB / 316 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1813, allocations: 12.2 kB / 316 MB, free: 4.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000386/0.1816, allocations: 410.5 kB / 316.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1816, allocations: 0 / 316.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008407/0.1825, allocations: 156.1 kB / 316.6 MB, free: 4.617 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.0001759/0.1827, allocations: 111.1 kB / 316.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009794/0.1836, allocations: 0.6857 MB / 317.4 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1836, allocations: 1.375 kB / 317.4 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.184, allocations: 440.9 kB / 317.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1844, allocations: 78.34 kB / 317.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1872, allocations: 1.711 MB / 319.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.1873, allocations: 180.5 kB / 319.8 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.1875, allocations: 87.48 kB / 319.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.1876, allocations: 61.75 kB / 319.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of SimCode: time 1.713e-06/0.1876, allocations: 2.75 kB / 319.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of Templates: time 0.01045/0.1981, allocations: 5.305 MB / 325.2 MB, free: 14.66 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: 3.381650689058006]