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.002642/0.002642, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.003086/0.003086, allocations: 165.3 kB / 24.27 MB, free: 152 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.633/1.633, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.283e-06/1.283e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.521e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00818/0.008205, allocations: 5.693 MB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003962/0.01217, allocations: 1.698 MB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007245/0.01289, allocations: 43.69 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.01346, allocations: 253.5 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.01404, allocations: 233.5 kB / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.01513, allocations: 0.5265 MB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.01687, allocations: 1.426 MB / 282.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008205/0.01769, allocations: 420.2 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.0188, allocations: 0.7367 MB / 283.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.01929, allocations: 342.8 kB / 283.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.01948, allocations: 124 kB / 283.8 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.01975, allocations: 136 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.02001, allocations: 278.9 kB / 284.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.02046, allocations: 395 kB / 284.6 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.02243, allocations: 1.635 MB / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.02244, allocations: 0 / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.02244, allocations: 0 / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.02247, allocations: 0 / 286.2 MB, free: 3.859 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.002814/0.02528, allocations: 1.63 MB / 287.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.02533, allocations: 12.03 kB / 287.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005205/0.02585, allocations: 255 kB / 288.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.02717, allocations: 0.7447 MB / 288.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.366e-05/0.02727, allocations: 90.41 kB / 288.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.02745, allocations: 123.9 kB / 289.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1128/0.1403, allocations: 1.488 MB / 290.5 MB, free: 27.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.698e-05/0.1404, allocations: 11.11 kB / 290.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1405, allocations: 50.56 kB / 290.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.1405, allocations: 32.3 kB / 290.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.1419, allocations: 0.6645 MB / 291.3 MB, free: 27.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00581/0.1478, allocations: 8.889 MB / 300.2 MB, free: 19.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.1484, allocations: 266.7 kB / 300.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.1488, allocations: 164.2 kB / 300.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.1489, allocations: 11.03 kB / 300.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1489, allocations: 44.16 kB / 300.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.1489, allocations: 0 / 300.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002232/0.1511, allocations: 1.288 MB / 302 MB, free: 18.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1511, allocations: 81.53 kB / 302 MB, free: 18.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.1521, allocations: 0.9036 MB / 302.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1521, allocations: 31.48 kB / 303 MB, free: 17.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.1525, allocations: 0.7982 MB / 303.8 MB, free: 17.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.1525, allocations: 129.9 kB / 303.9 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.1527, allocations: 169.1 kB / 304.1 MB, free: 17.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1529, allocations: 0.6113 MB / 304.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1532, allocations: 140.9 kB / 304.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.1536, allocations: 0.7493 MB / 305.6 MB, free: 15.66 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.000957/0.1546, allocations: 0.9999 MB / 306.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.1546, allocations: 4.344 kB / 306.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00125/0.1558, allocations: 0.8409 MB / 307.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.1559, allocations: 11.38 kB / 307.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.1559, allocations: 14.84 kB / 307.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.1562, allocations: 96.19 kB / 307.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.1567, allocations: 180.2 kB / 307.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.1587, allocations: 4.301 MB / 312 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.1591, allocations: 34.12 kB / 312 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.1592, allocations: 44.84 kB / 312.1 MB, free: 10.07 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.000453/0.1597, allocations: 316.5 kB / 312.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.1598, allocations: 88.14 kB / 312.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1599, allocations: 74.48 kB / 312.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1599, allocations: 3.219 kB / 312.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1599, allocations: 1.844 kB / 312.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1599, allocations: 2.297 kB / 312.6 MB, free: 9.715 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.001819/0.1617, allocations: 1.382 MB / 313.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1617, allocations: 5.266 kB / 313.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.162, allocations: 63.55 kB / 314 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.1622, allocations: 72.52 kB / 314.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.1623, allocations: 7.531 kB / 314.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.1638, allocations: 3.929 MB / 318 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1638, allocations: 1.656 kB / 318 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.1646, allocations: 0.7552 MB / 318.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1647, allocations: 58.88 kB / 318.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.1648, allocations: 16.62 kB / 318.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.165, allocations: 11.77 kB / 318.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.1651, allocations: 28.42 kB / 318.9 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1651, allocations: 12.23 kB / 318.9 MB, free: 4.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005285/0.1656, allocations: 0.5173 MB / 319.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1656, allocations: 0 / 319.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009173/0.1666, allocations: 157.4 kB / 319.6 MB, free: 4.074 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.0001088/0.1667, allocations: 105.2 kB / 319.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009072/0.1676, allocations: 0.7947 MB / 320.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1676, allocations: 0 / 320.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.1679, allocations: 479.7 kB / 320.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.1685, allocations: 82.5 kB / 321 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.1707, allocations: 1.77 MB / 322.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.171, allocations: 450.9 kB / 323.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.1712, allocations: 93.91 kB / 323.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.1713, allocations: 56.48 kB / 323.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1713, allocations: 4 kB / 323.4 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of Templates: time 0.01337/0.1847, allocations: 5.297 MB / 328.7 MB, free: 11.75 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","/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.812093115993775]