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.0008616/0.0008616, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008289/0.0008289, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9056/0.9056, allocations: 177 MB / 204.1 MB, free: 5.762 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.5e-05, allocations: 2.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004345/0.00436, allocations: 5.298 MB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.007233, allocations: 1.694 MB / 331.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005174/0.007751, allocations: 39.69 kB / 331.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.008123, allocations: 253.5 kB / 331.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.008522, allocations: 241.5 kB / 332.1 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.009458, allocations: 0.5148 MB / 332.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.0106, allocations: 1.429 MB / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.01107, allocations: 420.2 kB / 334.4 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.01169, allocations: 0.7328 MB / 335.1 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.01202, allocations: 334.8 kB / 335.5 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.01215, allocations: 124 kB / 335.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.01231, allocations: 140 kB / 335.7 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.01244, allocations: 278.9 kB / 336 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.01268, allocations: 395 kB / 336.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.01375, allocations: 1.619 MB / 338 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01375, allocations: 0 / 338 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.01375, allocations: 0 / 338 MB, free: 2.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.01378, allocations: 7.938 kB / 338 MB, free: 2.328 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.00142/0.0152, allocations: 1.409 MB / 339.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.01524, allocations: 11.98 kB / 339.4 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.01538, allocations: 181.7 kB / 339.6 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.01561, allocations: 163 kB / 339.8 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/0.01641, allocations: 0.6836 MB / 340.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.01646, allocations: 94.41 kB / 340.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.667e-05/0.01655, allocations: 123.9 kB / 340.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.01786, allocations: 1.314 MB / 342 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.01788, allocations: 7.938 kB / 342 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.01795, allocations: 55.98 kB / 342 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.01796, allocations: 32 kB / 342.1 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.01882, allocations: 0.689 MB / 342.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.02338, allocations: 6.41 MB / 349.2 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.0239, allocations: 249.2 kB / 349.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.02414, allocations: 161.5 kB / 349.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.02425, allocations: 12 kB / 349.6 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.02428, allocations: 39.06 kB / 349.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.415e-06/0.02428, allocations: 0 / 349.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001977/0.02625, allocations: 1.271 MB / 350.9 MB, free: 4.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.02631, allocations: 85.11 kB / 351 MB, free: 4.633 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.02697, allocations: 0.688 MB / 351.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.02699, allocations: 33.7 kB / 351.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.02737, allocations: 0.7016 MB / 352.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.02745, allocations: 123 kB / 352.5 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.02759, allocations: 146.5 kB / 352.7 MB, free: 2.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.02773, allocations: 386.7 kB / 353 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.02791, allocations: 145.9 kB / 353.2 MB, free: 2.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.02829, allocations: 0.5547 MB / 353.7 MB, free: 1.633 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.0007867/0.02907, allocations: 0.8043 MB / 354.5 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.02908, allocations: 4 kB / 354.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009325/0.03001, allocations: 0.7945 MB / 355.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.03004, allocations: 12.06 kB / 355.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.03006, allocations: 19.98 kB / 355.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.03031, allocations: 81.69 kB / 355.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.03071, allocations: 179.7 kB / 355.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.03271, allocations: 3.106 MB / 358.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.03299, allocations: 31.98 kB / 358.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.03302, allocations: 44 kB / 358.8 MB, free: 12.13 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.0003739/0.0334, allocations: 269.5 kB / 359.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.03347, allocations: 79.42 kB / 359.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.03355, allocations: 82.41 kB / 359.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.03355, allocations: 4.141 kB / 359.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.03356, allocations: 0 / 359.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.03357, allocations: 7.922 kB / 359.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.03483, allocations: 1.187 MB / 360.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.03483, allocations: 0 / 360.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.035, allocations: 67.98 kB / 360.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.03512, allocations: 57.69 kB / 360.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.03514, allocations: 11.98 kB / 360.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.03655, allocations: 2.824 MB / 363.4 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.03656, allocations: 8 kB / 363.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.03712, allocations: 0.6364 MB / 364 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.03718, allocations: 67.47 kB / 364.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.03721, allocations: 4.062 kB / 364.1 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.03734, allocations: 19.98 kB / 364.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.0374, allocations: 31.89 kB / 364.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.03741, allocations: 12 kB / 364.2 MB, free: 6.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003425/0.03776, allocations: 435 kB / 364.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03776, allocations: 0 / 364.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006283/0.03839, allocations: 160 kB / 364.7 MB, free: 5.852 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.0007596/0.03914, allocations: 1.188 MB / 365.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.0399, allocations: 0.6407 MB / 366.6 MB, free: 3.957 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.0399, allocations: 0 / 366.6 MB, free: 3.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.0402, allocations: 345.8 kB / 366.9 MB, free: 3.594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.04059, allocations: 71.55 kB / 367 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/0.04636, allocations: 6.324 MB / 373.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.04669, allocations: 450.9 kB / 373.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.04688, allocations: 86.02 kB / 373.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.04722, allocations: 428.3 kB / 374.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.04722, allocations: 4 kB / 374.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.08158, allocations: 13.65 MB / 387.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.266, allocations: 3.266 kB / 387.9 MB, free: 14.21 MB / 362.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv","/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] "Error: Could not read variable directCapacitor1.capacitor.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacitor1.capacitor.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable directInductor3.inductor.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directInductor3.inductor.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.022564475424588]