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.001054/0.001054, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.004796/0.004796, allocations: 155.5 kB / 24.7 MB, free: 8.895 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 0.8605/0.8605, allocations: 177 MB / 204.8 MB, free: 5.734 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.533e-06/1.533e-06, allocations: 0 / 325.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.624e-05, allocations: 2.281 kB / 325.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004292/0.004319, allocations: 5.294 MB / 331.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.007204, allocations: 1.698 MB / 332.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.007704, allocations: 47.62 kB / 332.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.008086, allocations: 249.6 kB / 333.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.008434, allocations: 233.5 kB / 333.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007707/0.009205, allocations: 0.5265 MB / 333.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.01007, allocations: 1.43 MB / 335.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.01053, allocations: 412.3 kB / 335.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.01113, allocations: 0.7328 MB / 336.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.01141, allocations: 334.8 kB / 336.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.447e-05/0.0115, allocations: 124 kB / 336.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.01166, allocations: 144 kB / 337 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.01178, allocations: 263 kB / 337.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.012, allocations: 395 kB / 337.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.0133, allocations: 1.639 MB / 339.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.01331, allocations: 0 / 339.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01331, allocations: 3.938 kB / 339.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.01332, allocations: 0 / 339.3 MB, free: 1.648 MB / 298.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.001257/0.01458, allocations: 1.409 MB / 340.7 MB, free: 208 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.01461, allocations: 12.03 kB / 340.7 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.01485, allocations: 163 kB / 340.9 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/0.01563, allocations: 0.6835 MB / 341.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.01567, allocations: 94.34 kB / 341.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.01577, allocations: 119.9 kB / 341.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.01691, allocations: 1.314 MB / 343.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.01694, allocations: 11.89 kB / 343.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.017, allocations: 56 kB / 343.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.01701, allocations: 32 kB / 343.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.01778, allocations: 0.689 MB / 343.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.02107, allocations: 6.278 MB / 350.1 MB, free: 6.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.0215, allocations: 245.2 kB / 350.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.02172, allocations: 165.6 kB / 350.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/0.0218, allocations: 4 kB / 350.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.02183, allocations: 39.06 kB / 350.6 MB, free: 5.742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.02183, allocations: 0 / 350.6 MB, free: 5.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001425/0.02325, allocations: 1.277 MB / 351.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.02329, allocations: 89.05 kB / 351.9 MB, free: 4.293 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/0.02375, allocations: 0.684 MB / 352.6 MB, free: 3.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.02377, allocations: 29.7 kB / 352.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.02421, allocations: 0.7055 MB / 353.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.02428, allocations: 119.1 kB / 353.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.02439, allocations: 138.5 kB / 353.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.02451, allocations: 386.7 kB / 354 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.02468, allocations: 149.9 kB / 354.1 MB, free: 2.055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.02503, allocations: 0.5549 MB / 354.7 MB, free: 1.301 MB / 314.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.000715/0.02574, allocations: 0.8105 MB / 355.5 MB, free: 300 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02574, allocations: 7.938 kB / 355.5 MB, free: 292 kB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007818/0.02653, allocations: 0.7841 MB / 356.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.02655, allocations: 12 kB / 356.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.02656, allocations: 12 kB / 356.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.02673, allocations: 77.69 kB / 356.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.02701, allocations: 187.7 kB / 356.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.0289, allocations: 3.068 MB / 359.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.02912, allocations: 28 kB / 359.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.02915, allocations: 44 kB / 359.7 MB, free: 11.86 MB / 330.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.0003119/0.02946, allocations: 273.5 kB / 360 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.02953, allocations: 79.48 kB / 360.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.02959, allocations: 74.34 kB / 360.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.02959, allocations: 7.938 kB / 360.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.0296, allocations: 4 kB / 360.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.02961, allocations: 0 / 360.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009792/0.03059, allocations: 1.051 MB / 361.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03059, allocations: 3.938 kB / 361.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.03075, allocations: 63.97 kB / 361.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.756e-05/0.03084, allocations: 57.61 kB / 361.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.03086, allocations: 11.94 kB / 361.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.03206, allocations: 2.797 MB / 364.1 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.03206, allocations: 0 / 364.1 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.03256, allocations: 0.6364 MB / 364.8 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.03261, allocations: 59.48 kB / 364.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.03263, allocations: 8.062 kB / 364.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.03276, allocations: 27.98 kB / 364.9 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.03281, allocations: 27.89 kB / 364.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.03282, allocations: 12 kB / 364.9 MB, free: 6.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003065/0.03313, allocations: 431 kB / 365.3 MB, free: 5.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03313, allocations: 0 / 365.3 MB, free: 5.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005461/0.03367, allocations: 156 kB / 365.5 MB, free: 5.805 MB / 330.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.0001108/0.03378, allocations: 105.9 kB / 365.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.03443, allocations: 0.6355 MB / 366.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.03444, allocations: 1.562 kB / 366.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.03468, allocations: 345.4 kB / 366.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.03502, allocations: 83.48 kB / 366.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.03681, allocations: 1.758 MB / 368.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.03708, allocations: 454.7 kB / 368.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.03717, allocations: 60.48 kB / 368.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03717, allocations: 0 / 368.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of Templates: time 0.01435/0.05152, allocations: 20.08 MB / 389 MB, free: 14.14 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.987216157838702]