Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001683/0.001683, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002162/0.002162, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 61.78 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2465, allocations: 49.15 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007138/0.2537, allocations: 4.572 MB / 400.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.2648, allocations: 5.77 MB / 406.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.2668, allocations: 64.66 kB / 406.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.269, allocations: 460.1 kB / 407.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004279/0.2733, allocations: 0.8239 MB / 408 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.2753, allocations: 433.8 kB / 408.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004395/0.2797, allocations: 1.988 MB / 410.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.28, allocations: 102.8 kB / 410.5 MB, free: 60 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009348/0.2809, allocations: 382.3 kB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.2814, allocations: 326.6 kB / 411.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.652e-05/0.2815, allocations: 29.28 kB / 411.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.2828, allocations: 447.3 kB / 411.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.283, allocations: 103.7 kB / 411.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.2833, allocations: 327.8 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.2852, allocations: 1.297 MB / 413.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2852, allocations: 5.375 kB / 413.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2852, allocations: 4 kB / 413.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.2852, allocations: 0 / 413.4 MB, free: 14.56 MB / 334.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.002222/0.2874, allocations: 1.41 MB / 414.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2875, allocations: 12.95 kB / 414.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.125e-05/0.2876, allocations: 70.78 kB / 414.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.2877, allocations: 132.4 kB / 415 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.289, allocations: 0.766 MB / 415.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.289, allocations: 16.94 kB / 415.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.2891, allocations: 28.02 kB / 415.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.2897, allocations: 371.5 kB / 416.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2897, allocations: 1.5 kB / 416.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.2897, allocations: 9.281 kB / 416.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2898, allocations: 10.59 kB / 416.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.2902, allocations: 257.2 kB / 416.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.2921, allocations: 1.007 MB / 417.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.2925, allocations: 248.7 kB / 417.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.293, allocations: 294.4 kB / 418 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/0.2938, allocations: 170.1 kB / 418.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.2938, allocations: 33.34 kB / 418.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.094e-06/0.2938, allocations: 3.938 kB / 418.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003105/0.2969, allocations: 1.498 MB / 419.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.297, allocations: 113.7 kB / 419.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.2982, allocations: 0.9347 MB / 420.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.2983, allocations: 30.86 kB / 420.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.2986, allocations: 357.9 kB / 421.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2987, allocations: 138.4 kB / 421.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.2989, allocations: 117.8 kB / 421.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2991, allocations: 318.2 kB / 421.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.2994, allocations: 157.9 kB / 421.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.2997, allocations: 224.7 kB / 422.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.3012, allocations: 0.7489 MB / 422.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3012, allocations: 0 / 422.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001125/0.3023, allocations: 0.5975 MB / 423.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.3024, allocations: 37.41 kB / 423.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/0.3024, allocations: 20.58 kB / 423.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.3027, allocations: 69.8 kB / 423.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.3029, allocations: 40.28 kB / 423.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.3059, allocations: 3.108 MB / 426.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.3064, allocations: 20.02 kB / 426.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.3065, allocations: 16 kB / 426.7 MB, free: 4.055 MB / 334.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.0004539/0.3069, allocations: 268.2 kB / 427 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.3071, allocations: 127.2 kB / 427.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.3085, allocations: 0.713 MB / 427.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3086, allocations: 0 / 427.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3086, allocations: 4 kB / 427.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3086, allocations: 3.984 kB / 427.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/0.3094, allocations: 0.5449 MB / 428.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/0.3094, allocations: 15.98 kB / 428.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3096, allocations: 31.98 kB / 428.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.3098, allocations: 69.61 kB / 428.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.3099, allocations: 23.98 kB / 428.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/0.3127, allocations: 3.113 MB / 431.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3127, allocations: 128 / 431.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3143, allocations: 0.937 MB / 432.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.3148, allocations: 209 kB / 432.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.3149, allocations: 7.938 kB / 432.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.3152, allocations: 15.98 kB / 432.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3153, allocations: 36.02 kB / 432.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.3154, allocations: 24.06 kB / 432.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008702/0.3162, allocations: 0.6334 MB / 433.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3162, allocations: 0 / 433.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009247/0.3172, allocations: 219.6 kB / 433.7 MB, free: 12.72 MB / 350.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.00245/0.3196, allocations: 1.69 MB / 435.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3209, allocations: 0.8124 MB / 436.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.3209, allocations: 8 kB / 436.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007562/0.3216, allocations: 0.626 MB / 436.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.3223, allocations: 104.7 kB / 436.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008661/0.331, allocations: 5.95 MB / 442.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.3314, allocations: 417 kB / 443.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.3317, allocations: 93.64 kB / 443.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.332, allocations: 283.3 kB / 443.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.462e-06/0.332, allocations: 0 / 443.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0605/0.3925, allocations: 18.44 MB / 462.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.27, allocations: 8.016 kB / 462.1 MB, free: 15.81 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.836484282743186]