Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.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.0008367/0.0008367, 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.0009196/0.0009196, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8686/0.8686, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.972e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004088/0.004107, allocations: 4.599 MB / 329.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.009739, allocations: 5.857 MB / 335 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.01027, allocations: 67.31 kB / 335.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009588/0.01123, allocations: 472.6 kB / 335.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.01297, allocations: 0.8572 MB / 336.4 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009249/0.01389, allocations: 446.1 kB / 336.8 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.01605, allocations: 2.098 MB / 338.9 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.01629, allocations: 103.2 kB / 339 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006288/0.01691, allocations: 0.5103 MB / 339.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.01721, allocations: 235.1 kB / 339.8 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.01726, allocations: 28 kB / 339.8 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007412/0.018, allocations: 471.4 kB / 340.3 MB, free: 172 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.01808, allocations: 107.2 kB / 340.4 MB, free: 64 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.01828, allocations: 231.3 kB / 340.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.0197, allocations: 1.308 MB / 341.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.0197, allocations: 4 kB / 341.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01971, allocations: 0 / 341.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.01973, allocations: 0 / 341.9 MB, free: 14.52 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.001477/0.0212, allocations: 1.399 MB / 343.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.02124, allocations: 11.97 kB / 343.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.02129, allocations: 70.53 kB / 343.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.02149, allocations: 147.1 kB / 343.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007507/0.02224, allocations: 0.7639 MB / 344.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.02226, allocations: 16.5 kB / 344.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.0223, allocations: 23.95 kB / 344.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.0227, allocations: 371.2 kB / 344.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.02271, allocations: 0 / 344.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.02274, allocations: 8 kB / 344.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.02275, allocations: 11.94 kB / 344.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.02301, allocations: 259.8 kB / 345 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.02411, allocations: 1.003 MB / 346 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.02439, allocations: 252 kB / 346.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.02469, allocations: 295.1 kB / 346.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004564/0.02515, allocations: 177.2 kB / 346.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.02517, allocations: 34.56 kB / 346.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.372e-06/0.02517, allocations: 0 / 346.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.001801/0.02697, allocations: 1.496 MB / 348.2 MB, free: 7.941 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.02702, allocations: 114.8 kB / 348.3 MB, free: 7.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.0279, allocations: 0.9262 MB / 349.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.02792, allocations: 37.64 kB / 349.3 MB, free: 6.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.02811, allocations: 361.7 kB / 349.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.02819, allocations: 142.7 kB / 349.8 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.0283, allocations: 113.7 kB / 349.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.02838, allocations: 322 kB / 350.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.02855, allocations: 162.2 kB / 350.4 MB, free: 5.723 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.02873, allocations: 219.8 kB / 350.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.02958, allocations: 0.753 MB / 351.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.02958, allocations: 0 / 351.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005749/0.03016, allocations: 0.5993 MB / 351.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.03019, allocations: 37.7 kB / 352 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.03021, allocations: 15.98 kB / 352 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.03034, allocations: 73.69 kB / 352 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.03046, allocations: 43.91 kB / 352.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.03204, allocations: 3.109 MB / 355.2 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.03222, allocations: 16.02 kB / 355.2 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.03226, allocations: 20 kB / 355.2 MB, free: 0.5352 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.0003125/0.03258, allocations: 260 kB / 355.5 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.03294, allocations: 127.2 kB / 355.6 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008074/0.03374, allocations: 0.6937 MB / 356.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.03375, allocations: 8 kB / 356.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.03375, allocations: 0 / 356.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.03375, allocations: 3.984 kB / 356.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.0342, allocations: 0.5488 MB / 356.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.03422, allocations: 12 kB / 356.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.0343, allocations: 35.92 kB / 356.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.03442, allocations: 69.67 kB / 357 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.03444, allocations: 23.92 kB / 357 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.03591, allocations: 3.102 MB / 360.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.03591, allocations: 0 / 360.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.03675, allocations: 0.9563 MB / 361.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.03698, allocations: 201 kB / 361.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.03703, allocations: 8 kB / 361.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.03717, allocations: 11.98 kB / 361.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.03723, allocations: 31.95 kB / 361.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.03726, allocations: 16 kB / 361.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004897/0.03775, allocations: 0.6373 MB / 362 MB, free: 9.441 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03775, allocations: 4.062 kB / 362 MB, free: 9.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005523/0.0383, allocations: 227.5 kB / 362.2 MB, free: 9.215 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.001592/0.03989, allocations: 1.702 MB / 363.9 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.04063, allocations: 0.8159 MB / 364.7 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.04063, allocations: 0 / 364.7 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.04102, allocations: 0.6299 MB / 365.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.04144, allocations: 116.7 kB / 365.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.0468, allocations: 5.916 MB / 371.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.04703, allocations: 409 kB / 371.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.04721, allocations: 93.64 kB / 371.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.04742, allocations: 288.4 kB / 372.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of SimCode: time 6.92e-07/0.04742, allocations: 0 / 372.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.08382, allocations: 18.65 MB / 390.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.399, allocations: 13.44 kB / 390.8 MB, free: 12.39 MB / 362.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/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_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.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: 9.162076885811985]