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.001417/0.001417, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001523/0.001523, allocations: 165.3 kB / 24.27 MB, free: 144 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 1.461/1.461, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.824e-06/1.824e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.881e-05, allocations: 2.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.01073/0.01075, allocations: 5.306 MB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.01562, allocations: 1.683 MB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009073/0.01652, allocations: 43.69 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.01733, allocations: 257.5 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009093/0.01824, allocations: 225.6 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.01985, allocations: 0.5303 MB / 280.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.02231, allocations: 1.43 MB / 281.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.02332, allocations: 416.2 kB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.02501, allocations: 0.7289 MB / 282.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.02566, allocations: 342.7 kB / 283.3 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.02589, allocations: 124 kB / 283.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.02624, allocations: 140 kB / 283.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.02655, allocations: 267 kB / 283.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.02714, allocations: 395 kB / 284.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.02964, allocations: 1.623 MB / 285.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.02965, allocations: 8 kB / 285.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.02965, allocations: 0 / 285.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.02967, allocations: 0 / 285.8 MB, free: 4.25 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.003007/0.03268, allocations: 1.405 MB / 287.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.03273, allocations: 16.02 kB / 287.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.03343, allocations: 259 kB / 287.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.03522, allocations: 0.7497 MB / 288.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.03533, allocations: 90.34 kB / 288.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.03557, allocations: 119.9 kB / 288.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/0.0387, allocations: 1.314 MB / 289.7 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/0.03875, allocations: 7.891 kB / 289.8 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.109/0.1478, allocations: 52.73 kB / 289.8 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.1478, allocations: 33.44 kB / 289.8 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.1493, allocations: 0.6877 MB / 290.5 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/0.1546, allocations: 6.34 MB / 296.9 MB, free: 22.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.1555, allocations: 248.7 kB / 297.1 MB, free: 22.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.1561, allocations: 159.5 kB / 297.3 MB, free: 22.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1562, allocations: 9.391 kB / 297.3 MB, free: 22.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1562, allocations: 38.81 kB / 297.3 MB, free: 22.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.215e-06/0.1562, allocations: 1.031 kB / 297.3 MB, free: 22.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002882/0.1591, allocations: 1.277 MB / 298.6 MB, free: 21.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.1591, allocations: 91.8 kB / 298.7 MB, free: 21.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.1601, allocations: 0.6753 MB / 299.4 MB, free: 21.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1601, allocations: 31.38 kB / 299.4 MB, free: 21.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.1605, allocations: 0.7058 MB / 300.1 MB, free: 20.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.1606, allocations: 122.1 kB / 300.2 MB, free: 20.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.1608, allocations: 142.8 kB / 300.4 MB, free: 20.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1609, allocations: 390.7 kB / 300.7 MB, free: 20.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.1613, allocations: 144.6 kB / 300.9 MB, free: 20.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.1618, allocations: 0.5518 MB / 301.4 MB, free: 19.65 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.001161/0.1629, allocations: 0.8009 MB / 302.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.1629, allocations: 3.625 kB / 302.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00183/0.1648, allocations: 0.8353 MB / 303.1 MB, free: 18.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.1648, allocations: 15.5 kB / 303.1 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.1648, allocations: 14.94 kB / 303.1 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.1652, allocations: 88.33 kB / 303.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/0.166, allocations: 181.1 kB / 303.4 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.1683, allocations: 3.076 MB / 306.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.169, allocations: 32.69 kB / 306.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.1691, allocations: 44.16 kB / 306.5 MB, free: 15.56 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.0005205/0.1696, allocations: 270.1 kB / 306.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.1698, allocations: 83.72 kB / 306.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.1699, allocations: 75.28 kB / 306.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1699, allocations: 3.156 kB / 306.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.17, allocations: 7.25 kB / 306.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.17, allocations: 5.297 kB / 306.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.1722, allocations: 1.065 MB / 308 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1722, allocations: 0 / 308 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.1726, allocations: 63.84 kB / 308.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.1728, allocations: 59.66 kB / 308.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1728, allocations: 8.016 kB / 308.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.1745, allocations: 2.797 MB / 310.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1745, allocations: 1.375 kB / 310.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1756, allocations: 0.6436 MB / 311.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1757, allocations: 67.72 kB / 311.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/0.1758, allocations: 7.234 kB / 311.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.1762, allocations: 17.08 kB / 311.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.1763, allocations: 37.22 kB / 311.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.1763, allocations: 6.125 kB / 311.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007668/0.1771, allocations: 433.7 kB / 312.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1771, allocations: 0 / 312.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001489/0.1786, allocations: 159.8 kB / 312.3 MB, free: 11.18 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.0001502/0.1787, allocations: 105.7 kB / 312.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1801, allocations: 0.6404 MB / 313 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1801, allocations: 0 / 313 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.1806, allocations: 357.5 kB / 313.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.1814, allocations: 81.56 kB / 313.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.1846, allocations: 1.745 MB / 315.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1849, allocations: 460.2 kB / 315.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.1851, allocations: 89.91 kB / 315.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.1852, allocations: 56.48 kB / 315.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1852, allocations: 0 / 315.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of Templates: time 0.01008/0.1953, allocations: 5.26 MB / 321.1 MB, free: 3.797 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.504075089935213]