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.0007949/0.0007949, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008055/0.0008055, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 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 0.8755/0.8755, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.319e-05, allocations: 8.891 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004524/0.004537, allocations: 5.293 MB / 329.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.006676, allocations: 1.698 MB / 331.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.007024, allocations: 39.69 kB / 331.6 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.007364, allocations: 249.5 kB / 331.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.007912, allocations: 241.5 kB / 332.1 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.008592, allocations: 0.5226 MB / 332.6 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.009505, allocations: 1.429 MB / 334.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004515/0.009956, allocations: 412.3 kB / 334.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006158/0.01057, allocations: 0.7406 MB / 335.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.01085, allocations: 334.8 kB / 335.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/0.01094, allocations: 120 kB / 335.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.01108, allocations: 136 kB / 335.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.0112, allocations: 278.9 kB / 336.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.01142, allocations: 391 kB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.01234, allocations: 1.631 MB / 338.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01235, allocations: 4 kB / 338.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01235, allocations: 0 / 338.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.01236, allocations: 0 / 338.1 MB, free: 2.348 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.001439/0.0138, allocations: 1.412 MB / 339.5 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.01384, allocations: 8.031 kB / 339.5 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.01397, allocations: 181.6 kB / 339.7 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.01418, allocations: 163 kB / 339.8 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.01492, allocations: 0.6875 MB / 340.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.01497, allocations: 86.41 kB / 340.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.01506, allocations: 123.9 kB / 340.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.0162, allocations: 1.318 MB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.01623, allocations: 3.938 kB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.01628, allocations: 59.98 kB / 342.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.0163, allocations: 32 kB / 342.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.01708, allocations: 0.6929 MB / 342.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003661/0.02074, allocations: 6.406 MB / 349.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.02114, allocations: 245.1 kB / 349.5 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.02137, allocations: 173.7 kB / 349.6 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.02144, allocations: 4 kB / 349.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.02146, allocations: 39.06 kB / 349.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.412e-06/0.02147, allocations: 0 / 349.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001401/0.02287, allocations: 1.271 MB / 351 MB, free: 4.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.0229, allocations: 85.11 kB / 351 MB, free: 4.656 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.0234, allocations: 0.688 MB / 351.7 MB, free: 3.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.02342, allocations: 33.7 kB / 351.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.02372, allocations: 0.6976 MB / 352.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.02378, allocations: 130.8 kB / 352.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.02389, allocations: 142.5 kB / 352.7 MB, free: 2.941 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.02401, allocations: 382.8 kB / 353.1 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.02419, allocations: 149.9 kB / 353.2 MB, free: 2.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.02478, allocations: 0.5548 MB / 353.8 MB, free: 1.66 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.0006751/0.02546, allocations: 0.8091 MB / 354.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.02546, allocations: 4 kB / 354.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007648/0.02623, allocations: 0.7919 MB / 355.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.02624, allocations: 12 kB / 355.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.02626, allocations: 12 kB / 355.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.02642, allocations: 77.69 kB / 355.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.0267, allocations: 187.7 kB / 355.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.02828, allocations: 3.102 MB / 358.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.02847, allocations: 35.98 kB / 358.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.0285, allocations: 44 kB / 358.9 MB, free: 12.15 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.0002596/0.02876, allocations: 270.6 kB / 359.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.02883, allocations: 83.41 kB / 359.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.02889, allocations: 70.36 kB / 359.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.0289, allocations: 4 kB / 359.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.0289, allocations: 3.938 kB / 359.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.02891, allocations: 4.109 kB / 359.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.03026, allocations: 1.191 MB / 360.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.03026, allocations: 0 / 360.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.03042, allocations: 71.89 kB / 360.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.603e-05/0.0305, allocations: 49.69 kB / 360.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.03052, allocations: 8 kB / 360.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.03175, allocations: 2.828 MB / 363.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.03175, allocations: 7.969 kB / 363.4 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.03227, allocations: 0.6324 MB / 364.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.03232, allocations: 71.53 kB / 364.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.03235, allocations: 8 kB / 364.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.03248, allocations: 16.06 kB / 364.2 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.03253, allocations: 27.89 kB / 364.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.03254, allocations: 12.11 kB / 364.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.03285, allocations: 439 kB / 364.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03285, allocations: 0 / 364.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.03333, allocations: 156 kB / 364.8 MB, free: 5.887 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.0006781/0.03401, allocations: 1.188 MB / 366 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006204/0.03463, allocations: 0.6397 MB / 366.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.03463, allocations: 4.188 kB / 366.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.03489, allocations: 353.2 kB / 367 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.03524, allocations: 75.69 kB / 367 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/0.04043, allocations: 6.323 MB / 373.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.04072, allocations: 450.9 kB / 373.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.04087, allocations: 82.03 kB / 373.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.04145, allocations: 424.3 kB / 374.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.04145, allocations: 0 / 374.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.06603, allocations: 13.65 MB / 388 MB, free: 14.28 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.319, allocations: 15.59 kB / 388 MB, free: 14.27 MB / 362.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] 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: 8.956765771843493]