Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.001309/0.001309, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.001234/0.001234, 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.9495/0.9495, allocations: 177 MB / 204.1 MB, free: 5.75 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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.571e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004563/0.004589, allocations: 4.588 MB / 329.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006896/0.01149, allocations: 5.849 MB / 334.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.01274, allocations: 67.31 kB / 335 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.01406, allocations: 472.6 kB / 335.5 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.01643, allocations: 0.8611 MB / 336.3 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.01761, allocations: 442.2 kB / 336.8 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.02007, allocations: 2.106 MB / 338.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.02035, allocations: 103.2 kB / 339 MB, free: 1.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.02109, allocations: 0.5142 MB / 339.5 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.02142, allocations: 235.1 kB / 339.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.02147, allocations: 28 kB / 339.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.02238, allocations: 463.4 kB / 340.2 MB, free: 124 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.02247, allocations: 115.2 kB / 340.3 MB, free: 8 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.02271, allocations: 227.2 kB / 340.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.02408, allocations: 1.308 MB / 341.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02409, allocations: 0 / 341.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02409, allocations: 3.938 kB / 341.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.02411, allocations: 7.938 kB / 341.8 MB, free: 14.46 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001558/0.02567, allocations: 1.403 MB / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.02572, allocations: 11.98 kB / 343.3 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.02577, allocations: 58.53 kB / 343.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.02601, allocations: 151.1 kB / 343.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.0269, allocations: 0.7639 MB / 344.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.02692, allocations: 12.5 kB / 344.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.02696, allocations: 27.95 kB / 344.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.02738, allocations: 379.1 kB / 344.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.02739, allocations: 0 / 344.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.02741, allocations: 12 kB / 344.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.02742, allocations: 8 kB / 344.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.02771, allocations: 251.8 kB / 344.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.02897, allocations: 1.003 MB / 345.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.02928, allocations: 256 kB / 346.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.0296, allocations: 295 kB / 346.4 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/0.03012, allocations: 173.3 kB / 346.6 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.03015, allocations: 42.55 kB / 346.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.585e-06/0.03016, allocations: 0 / 346.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.002148/0.0323, allocations: 1.485 MB / 348.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.03237, allocations: 122.7 kB / 348.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/0.0333, allocations: 0.9262 MB / 349.2 MB, free: 6.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.03334, allocations: 37.64 kB / 349.2 MB, free: 6.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.0336, allocations: 361.7 kB / 349.6 MB, free: 6.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.03371, allocations: 142.7 kB / 349.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.03388, allocations: 113.7 kB / 349.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.03397, allocations: 322 kB / 350.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.03415, allocations: 158.3 kB / 350.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.03462, allocations: 219.8 kB / 350.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.03552, allocations: 0.7489 MB / 351.3 MB, free: 4.652 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.03552, allocations: 0 / 351.3 MB, free: 4.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006874/0.03621, allocations: 0.5993 MB / 351.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.03625, allocations: 41.69 kB / 351.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.03628, allocations: 12 kB / 351.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.03647, allocations: 73.61 kB / 352 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.03663, allocations: 48 kB / 352 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.0387, allocations: 3.093 MB / 355.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.03897, allocations: 20.14 kB / 355.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.03902, allocations: 20 kB / 355.2 MB, free: 0.4922 MB / 314.7 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003761/0.03939, allocations: 264 kB / 355.4 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.0395, allocations: 127.2 kB / 355.5 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008978/0.0404, allocations: 0.7059 MB / 356.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.04041, allocations: 4 kB / 356.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.04041, allocations: 0 / 356.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.04042, allocations: 3.984 kB / 356.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.04096, allocations: 0.5449 MB / 356.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.04098, allocations: 15.98 kB / 356.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.04108, allocations: 27.98 kB / 356.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.04121, allocations: 73.67 kB / 356.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.04124, allocations: 23.92 kB / 356.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.04328, allocations: 3.106 MB / 360 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.04329, allocations: 7.875 kB / 360.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009193/0.04421, allocations: 0.9407 MB / 361 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.04451, allocations: 205 kB / 361.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.04457, allocations: 8 kB / 361.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.04472, allocations: 16.11 kB / 361.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.04481, allocations: 31.95 kB / 361.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.04484, allocations: 16 kB / 361.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006234/0.04546, allocations: 0.6373 MB / 361.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04546, allocations: 0 / 361.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000689/0.04615, allocations: 227.5 kB / 362.1 MB, free: 9.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001647/0.0478, allocations: 1.687 MB / 363.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.0487, allocations: 0.8201 MB / 364.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0487, allocations: 0 / 364.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.04914, allocations: 0.6376 MB / 365.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.04962, allocations: 124.3 kB / 365.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.05578, allocations: 5.916 MB / 371.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.05605, allocations: 421 kB / 371.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.05625, allocations: 89.64 kB / 371.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.05648, allocations: 284.4 kB / 372.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.05648, allocations: 4 kB / 372.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/0.09711, allocations: 18.63 MB / 390.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.6, allocations: 8.047 kB / 390.7 MB, free: 12.28 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable D3.n.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.csv. Warning: Get data of variable D3.n.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.567004256881773]