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.001357/0.001357, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001411/0.001411, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.456/1.456, allocations: 230.5 MB / 258.2 MB, free: 7.793 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 53.41 MB / 431.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006005/0.2712, allocations: 4.574 MB / 436.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00886/0.2801, allocations: 5.853 MB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007681/0.2808, allocations: 67.31 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.2822, allocations: 460.9 kB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.2857, allocations: 0.838 MB / 443.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.2877, allocations: 438.4 kB / 444.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005116/0.2928, allocations: 2.055 MB / 446.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.2932, allocations: 99.27 kB / 446.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009319/0.2941, allocations: 394.2 kB / 446.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.2947, allocations: 345.7 kB / 447 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.2948, allocations: 31.94 kB / 447 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.2965, allocations: 487.6 kB / 447.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.2967, allocations: 115.2 kB / 447.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.2972, allocations: 321.8 kB / 447.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.2997, allocations: 1.303 MB / 449.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2997, allocations: 0 / 449.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2997, allocations: 0 / 449.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.2997, allocations: 4 kB / 449.2 MB, free: 5.219 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.002484/0.3022, allocations: 1.415 MB / 450.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3022, allocations: 12.03 kB / 450.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.442e-05/0.3022, allocations: 8.438 kB / 450.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/0.3023, allocations: 58.55 kB / 450.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.3027, allocations: 147.1 kB / 450.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3039, allocations: 0.7677 MB / 451.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3039, allocations: 16.44 kB / 451.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.3039, allocations: 27.95 kB / 451.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.3046, allocations: 366.7 kB / 452 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3046, allocations: 0 / 452 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.3046, allocations: 16 kB / 452 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3046, allocations: 7.938 kB / 452.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.3051, allocations: 255.6 kB / 452.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.307, allocations: 1.014 MB / 453.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.3074, allocations: 244.2 kB / 453.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.3079, allocations: 310.2 kB / 453.9 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008116/0.3087, allocations: 169.4 kB / 454 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3088, allocations: 42.5 kB / 454.1 MB, free: 192 kB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.3088, allocations: 0 / 454.1 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003129/0.3119, allocations: 1.493 MB / 455.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.312, allocations: 114.8 kB / 455.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.3132, allocations: 0.9301 MB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.3132, allocations: 29.7 kB / 456.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.3135, allocations: 361.8 kB / 457 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3137, allocations: 134.8 kB / 457.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.3138, allocations: 121.7 kB / 457.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.314, allocations: 325.9 kB / 457.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.3143, allocations: 162.3 kB / 457.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.3146, allocations: 219.8 kB / 457.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.3161, allocations: 0.7451 MB / 458.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3161, allocations: 0 / 458.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001065/0.3171, allocations: 0.5955 MB / 459.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.3172, allocations: 45.62 kB / 459.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.3172, allocations: 12 kB / 459.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.3175, allocations: 69.67 kB / 459.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3177, allocations: 47.97 kB / 459.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.3206, allocations: 3.113 MB / 462.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.3209, allocations: 12.2 kB / 462.6 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.321, allocations: 20 kB / 462.6 MB, free: 7.215 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.0004446/0.3214, allocations: 260 kB / 462.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3216, allocations: 131.2 kB / 463 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.323, allocations: 0.7053 MB / 463.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.323, allocations: 0 / 463.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.323, allocations: 4 kB / 463.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.323, allocations: 3.984 kB / 463.7 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.3238, allocations: 0.5527 MB / 464.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/0.3238, allocations: 11.98 kB / 464.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.324, allocations: 39.92 kB / 464.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.3242, allocations: 69.61 kB / 464.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.3243, allocations: 23.98 kB / 464.4 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/0.3269, allocations: 3.105 MB / 467.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3269, allocations: 4.312 kB / 467.5 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.3284, allocations: 0.9368 MB / 468.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.3288, allocations: 201 kB / 468.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3289, allocations: 16 kB / 468.6 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.3292, allocations: 11.92 kB / 468.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3293, allocations: 39.89 kB / 468.7 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.3293, allocations: 20.06 kB / 468.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008457/0.3302, allocations: 0.6256 MB / 469.3 MB, free: 112 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3302, allocations: 0 / 469.3 MB, free: 112 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008553/0.331, allocations: 227.6 kB / 469.5 MB, free: 15.88 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.002253/0.3333, allocations: 1.682 MB / 471.2 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3346, allocations: 0.8197 MB / 472 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3346, allocations: 4.062 kB / 472.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008079/0.3354, allocations: 0.6338 MB / 472.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.3361, allocations: 112.7 kB / 472.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/0.3444, allocations: 5.945 MB / 478.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.3449, allocations: 413 kB / 479.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.3451, allocations: 97.62 kB / 479.2 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.3455, allocations: 283.3 kB / 479.5 MB, free: 5.492 MB / 382.1 MB Notification: Performance of SimCode: time 1.083e-06/0.3455, allocations: 0 / 479.5 MB, free: 5.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/0.4086, allocations: 18.21 MB / 497.7 MB, free: 3.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.54, allocations: 14.67 kB / 497.7 MB, free: 3.414 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.525081475963816]