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.001422/0.001422, allocations: 82.03 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00148/0.00148, allocations: 163.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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.499/1.499, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.1 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.714e-06/1.714e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.897e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007905/0.007934, allocations: 5.308 MB / 330.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.01223, allocations: 1.693 MB / 332.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008634/0.01309, allocations: 46.19 kB / 332.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.01372, allocations: 254.5 kB / 332.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006945/0.01441, allocations: 232.5 kB / 332.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.01567, allocations: 0.524 MB / 333.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.01742, allocations: 1.433 MB / 334.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007853/0.0182, allocations: 412.2 kB / 335 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.01928, allocations: 0.7253 MB / 335.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.01977, allocations: 339.3 kB / 336 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.01994, allocations: 126.1 kB / 336.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.02021, allocations: 144.5 kB / 336.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.02046, allocations: 269.6 kB / 336.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.02088, allocations: 394 kB / 336.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.02266, allocations: 1.629 MB / 338.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.02266, allocations: 4 kB / 338.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.02267, allocations: 0 / 338.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.496e-05/0.02269, allocations: 0 / 338.6 MB, free: 7.234 MB / 302.1 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.002343/0.02503, allocations: 1.408 MB / 340 MB, free: 6.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.02508, allocations: 9.25 kB / 340 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004767/0.02556, allocations: 164.1 kB / 340.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.02681, allocations: 0.6912 MB / 340.8 MB, free: 5.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.0269, allocations: 90.41 kB / 340.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.02708, allocations: 123.9 kB / 341.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.02921, allocations: 1.314 MB / 342.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.02925, allocations: 15.83 kB / 342.4 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.02936, allocations: 48 kB / 342.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.0294, allocations: 36 kB / 342.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.03075, allocations: 0.689 MB / 343.2 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006704/0.03745, allocations: 6.274 MB / 349.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.03819, allocations: 245.3 kB / 349.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.03856, allocations: 157.6 kB / 349.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-05/0.03866, allocations: 12.5 kB / 349.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.0387, allocations: 38.5 kB / 349.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 2.454e-06/0.0387, allocations: 0 / 349.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002685/0.04138, allocations: 1.284 MB / 351.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.04144, allocations: 81.11 kB / 351.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.04229, allocations: 0.6801 MB / 351.9 MB, free: 9.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.04232, allocations: 29.7 kB / 351.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.04287, allocations: 0.7016 MB / 352.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.04297, allocations: 123 kB / 352.8 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.04317, allocations: 138.5 kB / 352.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.0434, allocations: 390.7 kB / 353.3 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.0437, allocations: 149.9 kB / 353.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.04434, allocations: 0.5587 MB / 354 MB, free: 7.273 MB / 318.1 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.001203/0.04554, allocations: 0.8112 MB / 354.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.04555, allocations: 4 kB / 354.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001384/0.04693, allocations: 0.7897 MB / 355.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.04696, allocations: 12 kB / 355.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.04698, allocations: 16 kB / 355.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.04728, allocations: 77.69 kB / 355.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.04786, allocations: 192.3 kB / 355.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.05076, allocations: 3.056 MB / 358.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.05117, allocations: 32 kB / 359 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.05123, allocations: 44 kB / 359 MB, free: 1.836 MB / 318.1 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.0004746/0.0517, allocations: 276.7 kB / 359.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.05183, allocations: 75.48 kB / 359.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.05197, allocations: 78.34 kB / 359.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.05198, allocations: 7.938 kB / 359.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.05199, allocations: 0 / 359.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.05199, allocations: 0 / 359.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.0538, allocations: 1.059 MB / 360.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.05381, allocations: 4 kB / 360.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.05414, allocations: 63.91 kB / 360.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/0.05431, allocations: 53.67 kB / 360.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.05434, allocations: 11.94 kB / 360.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.05677, allocations: 2.789 MB / 363.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.05677, allocations: 7.969 kB / 363.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.05778, allocations: 0.6326 MB / 364.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.05789, allocations: 67.55 kB / 364.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.05795, allocations: 8 kB / 364.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.05822, allocations: 19.92 kB / 364.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.0583, allocations: 23.95 kB / 364.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.05831, allocations: 8 kB / 364.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000569/0.05888, allocations: 439 kB / 364.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05888, allocations: 0 / 364.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009176/0.0598, allocations: 156 kB / 364.8 MB, free: 11.78 MB / 334.1 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.0001458/0.05995, allocations: 107.3 kB / 364.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.06108, allocations: 0.6364 MB / 365.5 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.06108, allocations: 0.6875 kB / 365.5 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.06159, allocations: 349.9 kB / 365.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.06215, allocations: 75.28 kB / 365.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.06513, allocations: 1.714 MB / 367.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.06562, allocations: 458.7 kB / 368.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.06587, allocations: 81.94 kB / 368.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.06599, allocations: 64.47 kB / 368.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.06599, allocations: 0 / 368.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of Templates: time 0.013/0.079, allocations: 5.23 MB / 373.5 MB, free: 3.066 MB / 334.1 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.591919951140881]