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.001792/0.001792, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00223/0.00223, allocations: 207.9 kB / 23.73 MB, free: 4.391 MB / 14.72 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 1.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002157/0.002157, allocations: 67.89 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2349, allocations: 53.4 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005989/0.2409, allocations: 4.576 MB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008627/0.2495, allocations: 5.859 MB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005359/0.25, allocations: 67.31 kB / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.2512, allocations: 468.9 kB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.2534, allocations: 0.8303 MB / 442.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2545, allocations: 438.4 kB / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.2575, allocations: 2.059 MB / 445.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.2577, allocations: 95.25 kB / 445.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.2583, allocations: 394.2 kB / 445.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.2587, allocations: 317.7 kB / 446.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.2588, allocations: 32 kB / 446.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.2598, allocations: 475.5 kB / 446.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2599, allocations: 107.2 kB / 446.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.2602, allocations: 325.8 kB / 447.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.2618, allocations: 1.303 MB / 448.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2618, allocations: 0 / 448.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2618, allocations: 0 / 448.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.2618, allocations: 0 / 448.4 MB, free: 5.074 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.002088/0.2639, allocations: 1.419 MB / 449.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.264, allocations: 15.98 kB / 449.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.264, allocations: 58.48 kB / 449.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.2643, allocations: 147.1 kB / 450.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2656, allocations: 0.7678 MB / 450.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2656, allocations: 16.44 kB / 450.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.2656, allocations: 23.95 kB / 450.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.2662, allocations: 378.6 kB / 451.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2663, allocations: 0 / 451.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2663, allocations: 12 kB / 451.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2663, allocations: 7.938 kB / 451.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.2668, allocations: 259.6 kB / 451.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.2686, allocations: 1.015 MB / 452.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.2691, allocations: 252.1 kB / 452.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.2696, allocations: 291.4 kB / 453 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.2704, allocations: 161.4 kB / 453.2 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.2704, allocations: 38.56 kB / 453.2 MB, free: 56 kB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.763e-06/0.2704, allocations: 0 / 453.2 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003077/0.2735, allocations: 1.501 MB / 454.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.2736, allocations: 114.8 kB / 454.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.2747, allocations: 0.934 MB / 455.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2747, allocations: 33.7 kB / 455.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.275, allocations: 357.8 kB / 456.2 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2751, allocations: 138.7 kB / 456.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.2753, allocations: 121.7 kB / 456.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2755, allocations: 325.9 kB / 456.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.2758, allocations: 158.3 kB / 456.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.2761, allocations: 219.2 kB / 457.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.2776, allocations: 0.749 MB / 457.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2776, allocations: 0 / 457.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00104/0.2786, allocations: 0.5838 MB / 458.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.2787, allocations: 45.69 kB / 458.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.2787, allocations: 8.031 kB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.2789, allocations: 81.61 kB / 458.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.2792, allocations: 47.91 kB / 458.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.282, allocations: 3.113 MB / 461.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.2824, allocations: 20.02 kB / 461.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.2824, allocations: 20 kB / 461.8 MB, free: 7.062 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.00043/0.2829, allocations: 259.3 kB / 462 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.283, allocations: 131.1 kB / 462.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.2845, allocations: 0.7092 MB / 462.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2845, allocations: 4 kB / 462.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2845, allocations: 0 / 462.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2845, allocations: 3.984 kB / 462.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.2852, allocations: 0.545 MB / 463.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/0.2853, allocations: 23.92 kB / 463.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.2855, allocations: 27.98 kB / 463.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.2856, allocations: 65.67 kB / 463.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.2857, allocations: 19.98 kB / 463.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.2885, allocations: 3.117 MB / 466.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2885, allocations: 3.984 kB / 466.7 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.29, allocations: 0.9409 MB / 467.6 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.2905, allocations: 201 kB / 467.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/0.2906, allocations: 8 kB / 467.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.2909, allocations: 11.94 kB / 467.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.291, allocations: 35.94 kB / 467.9 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.291, allocations: 16 kB / 467.9 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008403/0.2919, allocations: 0.6257 MB / 468.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2919, allocations: 0 / 468.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008318/0.2927, allocations: 227.6 kB / 468.7 MB, free: 15.75 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.002295/0.295, allocations: 1.69 MB / 470.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.2963, allocations: 0.8236 MB / 471.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2963, allocations: 3.938 kB / 471.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007701/0.2971, allocations: 0.6338 MB / 471.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.2977, allocations: 115.8 kB / 472 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008373/0.3061, allocations: 5.941 MB / 477.9 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3065, allocations: 413 kB / 478.3 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.3068, allocations: 97.62 kB / 478.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.3072, allocations: 287.3 kB / 478.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3072, allocations: 0 / 478.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05877/0.366, allocations: 18.45 MB / 497.2 MB, free: 3.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.31, allocations: 10.59 kB / 497.2 MB, free: 3.023 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-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.mat","/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_trunk_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: 15.058776194229722]