Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002995/0.002995, allocations: 153.2 kB / 24.69 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.7983/0.7983, allocations: 173.4 MB / 201.2 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.033e-05, allocations: 2.281 kB / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004295/0.004315, allocations: 5.265 MB / 325 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.006282, allocations: 1.613 MB / 326.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.006695, allocations: 39.69 kB / 326.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.007097, allocations: 249.6 kB / 326.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.007429, allocations: 237.5 kB / 327.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.008159, allocations: 0.5147 MB / 327.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008579/0.009017, allocations: 1.418 MB / 329 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.009535, allocations: 416.2 kB / 329.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.01011, allocations: 0.7251 MB / 330.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.0104, allocations: 330.8 kB / 330.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.854e-05/0.0105, allocations: 123.9 kB / 330.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.01064, allocations: 143.9 kB / 330.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.01077, allocations: 266.9 kB / 331 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.01098, allocations: 399 kB / 331.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.0122, allocations: 1.619 MB / 333 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.0122, allocations: 0 / 333 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0122, allocations: 0 / 333 MB, free: 8.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.01221, allocations: 0 / 333 MB, free: 8.426 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.001228/0.01344, allocations: 1.413 MB / 334.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.01348, allocations: 8.922 kB / 334.4 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.0136, allocations: 155 kB / 334.6 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.01437, allocations: 0.6756 MB / 335.3 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.01442, allocations: 86.41 kB / 335.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.01451, allocations: 127.9 kB / 335.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.0157, allocations: 1.314 MB / 336.8 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.01573, allocations: 11.88 kB / 336.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.01579, allocations: 52 kB / 336.9 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.01581, allocations: 32 kB / 336.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.01662, allocations: 0.6891 MB / 337.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.02023, allocations: 6.274 MB / 343.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.02066, allocations: 245.3 kB / 344.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.02088, allocations: 161.6 kB / 344.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/0.02097, allocations: 16.44 kB / 344.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.02099, allocations: 38.5 kB / 344.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.02099, allocations: 0 / 344.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.00141/0.0224, allocations: 1.283 MB / 345.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.02244, allocations: 81.11 kB / 345.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.02318, allocations: 0.6839 MB / 346.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.02319, allocations: 29.7 kB / 346.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.02347, allocations: 0.6977 MB / 347.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.02352, allocations: 123 kB / 347.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.02363, allocations: 146.5 kB / 347.3 MB, free: 9.383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.02375, allocations: 386.7 kB / 347.7 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.02391, allocations: 141.9 kB / 347.9 MB, free: 8.855 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.02423, allocations: 0.5549 MB / 348.4 MB, free: 8.102 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.0006373/0.02487, allocations: 0.8024 MB / 349.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.02487, allocations: 4 kB / 349.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007426/0.02562, allocations: 0.7958 MB / 350 MB, free: 6.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.02564, allocations: 15.94 kB / 350 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.02565, allocations: 16 kB / 350 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.02581, allocations: 77.69 kB / 350.1 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.02608, allocations: 179.7 kB / 350.3 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.02782, allocations: 3.068 MB / 353.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.02801, allocations: 35.98 kB / 353.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.02803, allocations: 40 kB / 353.4 MB, free: 2.656 MB / 314.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.0002422/0.02828, allocations: 273.3 kB / 353.7 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.02834, allocations: 75.66 kB / 353.8 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.0284, allocations: 74.34 kB / 353.8 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.02841, allocations: 3.938 kB / 353.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.02841, allocations: 4 kB / 353.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.02841, allocations: 0 / 353.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/0.02935, allocations: 1.056 MB / 354.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02936, allocations: 4.094 kB / 354.9 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.02951, allocations: 67.89 kB / 355 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.553e-05/0.02959, allocations: 53.69 kB / 355 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.02961, allocations: 15.92 kB / 355 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.03074, allocations: 2.785 MB / 357.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03074, allocations: 0 / 357.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.03124, allocations: 0.6277 MB / 358.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.03129, allocations: 67.52 kB / 358.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.03131, allocations: 11.94 kB / 358.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.03143, allocations: 20 kB / 358.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.03148, allocations: 27.95 kB / 358.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.03149, allocations: 7.984 kB / 358.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002911/0.03179, allocations: 431 kB / 359 MB, free: 12.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03179, allocations: 0 / 359 MB, free: 12.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004837/0.03227, allocations: 160 kB / 359.2 MB, free: 12.61 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.000102/0.03237, allocations: 111.4 kB / 359.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008882/0.03326, allocations: 0.6322 MB / 359.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.03326, allocations: 0 / 359.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.03351, allocations: 361.9 kB / 360.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.03384, allocations: 78.94 kB / 360.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.03558, allocations: 1.757 MB / 362.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.03585, allocations: 450.9 kB / 362.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.03594, allocations: 64.47 kB / 362.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03595, allocations: 0 / 362.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of Templates: time 0.01305/0.049, allocations: 19.99 MB / 382.6 MB, free: 5.035 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.648502284660935]