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.001835/0.001835, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002233/0.002233, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001617/0.001617, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2255, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006118/0.2316, allocations: 4.576 MB / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008465/0.2401, allocations: 5.859 MB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.2406, allocations: 63.31 kB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.2418, allocations: 464.9 kB / 442 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.2438, allocations: 0.8341 MB / 442.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2448, allocations: 438.4 kB / 443.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.2477, allocations: 2.052 MB / 445.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.248, allocations: 99.25 kB / 445.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005355/0.2485, allocations: 386.2 kB / 445.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.249, allocations: 333.7 kB / 446.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.249, allocations: 32 kB / 446.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009612/0.25, allocations: 459.6 kB / 446.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2501, allocations: 115.2 kB / 446.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.2504, allocations: 329.7 kB / 447.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.252, allocations: 1.307 MB / 448.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.252, allocations: 0 / 448.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.252, allocations: 0 / 448.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.252, allocations: 0 / 448.4 MB, free: 5.273 MB / 350.1 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.002038/0.2541, allocations: 1.411 MB / 449.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2541, allocations: 12.03 kB / 449.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.881e-05/0.2542, allocations: 66.47 kB / 449.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.2545, allocations: 151.1 kB / 450 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.2557, allocations: 0.76 MB / 450.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2558, allocations: 20.38 kB / 450.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.2558, allocations: 27.95 kB / 450.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.2564, allocations: 370.7 kB / 451.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2564, allocations: 0 / 451.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.2565, allocations: 8 kB / 451.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2565, allocations: 7.938 kB / 451.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.2569, allocations: 263.6 kB / 451.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.2588, allocations: 1.007 MB / 452.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.2593, allocations: 248.9 kB / 452.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.2598, allocations: 299.3 kB / 453 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000744/0.2605, allocations: 169.4 kB / 453.1 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2605, allocations: 38.5 kB / 453.2 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.893e-06/0.2605, allocations: 0 / 453.2 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003112/0.2637, allocations: 1.493 MB / 454.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.2637, allocations: 118.8 kB / 454.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.2648, allocations: 0.934 MB / 455.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.2649, allocations: 33.64 kB / 455.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.2652, allocations: 357.8 kB / 456.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.2653, allocations: 138.7 kB / 456.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.2655, allocations: 117.7 kB / 456.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2656, allocations: 321.9 kB / 456.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.2659, allocations: 162.3 kB / 456.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.2662, allocations: 219 kB / 457 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.2677, allocations: 0.7492 MB / 457.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2677, allocations: 3.938 kB / 457.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00098/0.2687, allocations: 0.5955 MB / 458.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.2687, allocations: 45.62 kB / 458.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.2688, allocations: 12 kB / 458.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.269, allocations: 69.69 kB / 458.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.2692, allocations: 43.97 kB / 458.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.272, allocations: 3.121 MB / 461.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.2723, allocations: 12.03 kB / 461.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.2723, allocations: 23.98 kB / 461.7 MB, free: 7.266 MB / 366.1 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.0004113/0.2727, allocations: 256.1 kB / 462 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.2729, allocations: 127.2 kB / 462.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.2743, allocations: 0.7091 MB / 462.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2743, allocations: 4 kB / 462.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2743, allocations: 4 kB / 462.8 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2743, allocations: 0 / 462.8 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.275, allocations: 0.5527 MB / 463.4 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/0.275, allocations: 15.94 kB / 463.4 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.2752, allocations: 31.97 kB / 463.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.2754, allocations: 77.61 kB / 463.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.2755, allocations: 16 kB / 463.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.2782, allocations: 3.105 MB / 466.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2782, allocations: 0 / 466.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.2797, allocations: 0.9525 MB / 467.6 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.2801, allocations: 193 kB / 467.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.2802, allocations: 11.98 kB / 467.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.2805, allocations: 15.94 kB / 467.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.2806, allocations: 35.89 kB / 467.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.2806, allocations: 19.98 kB / 467.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007904/0.2814, allocations: 0.6256 MB / 468.5 MB, free: 172 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2814, allocations: 4.062 kB / 468.5 MB, free: 168 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000798/0.2822, allocations: 223.7 kB / 468.7 MB, free: 15.94 MB / 382.1 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.002259/0.2844, allocations: 1.682 MB / 470.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.2857, allocations: 0.8197 MB / 471.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2857, allocations: 4 kB / 471.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008011/0.2865, allocations: 0.6377 MB / 471.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.2871, allocations: 116.6 kB / 471.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008442/0.2956, allocations: 5.947 MB / 477.9 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.296, allocations: 413 kB / 478.3 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.2963, allocations: 93.64 kB / 478.4 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.2966, allocations: 283.3 kB / 478.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2966, allocations: 0 / 478.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05852/0.3552, allocations: 18.46 MB / 497.1 MB, free: 3.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.5, allocations: 11.88 kB / 497.1 MB, free: 3.289 MB / 398.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/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] "Error: Could not read variable D3.n.v in file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.csv. Warning: Get data of variable D3.n.v from file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.18898722389713]