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.00176/0.00176, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002139/0.002139, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.479/1.479, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001685/0.001685, allocations: 55.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1054, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.2032/0.3086, allocations: 5.218 MB / 431.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006866/0.3155, allocations: 6.694 MB / 438.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.3162, allocations: 60.38 kB / 438.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.3176, allocations: 0.4968 MB / 438.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.3198, allocations: 0.8233 MB / 439.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.3211, allocations: 441.7 kB / 440 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.3241, allocations: 2.048 MB / 442.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.3243, allocations: 103.2 kB / 442.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.3249, allocations: 391.5 kB / 442.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.3253, allocations: 344.1 kB / 442.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.3254, allocations: 30.44 kB / 442.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.3266, allocations: 0.4917 MB / 443.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3267, allocations: 112 kB / 443.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.327, allocations: 446.1 kB / 444 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.3286, allocations: 1.293 MB / 445.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3286, allocations: 1.062 kB / 445.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3286, allocations: 0 / 445.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.3286, allocations: 3.938 kB / 445.3 MB, free: 2.277 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.001891/0.3305, allocations: 1.494 MB / 446.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3305, allocations: 9.531 kB / 446.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.537e-05/0.3306, allocations: 61.94 kB / 446.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.3309, allocations: 153.1 kB / 447 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.332, allocations: 0.8566 MB / 447.8 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.332, allocations: 13.72 kB / 447.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.3321, allocations: 26.75 kB / 447.9 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.3326, allocations: 310.2 kB / 448.2 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3326, allocations: 1.125 kB / 448.2 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3327, allocations: 10.28 kB / 448.2 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3327, allocations: 9.562 kB / 448.2 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.3331, allocations: 228.6 kB / 448.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.3349, allocations: 1.109 MB / 449.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.3353, allocations: 220.7 kB / 449.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.3358, allocations: 265.3 kB / 450 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.3369, allocations: 0.8281 MB / 450.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3369, allocations: 42.45 kB / 450.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.836e-06/0.3369, allocations: 0.8906 kB / 450.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003275/0.3402, allocations: 1.561 MB / 452.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.3403, allocations: 119 kB / 452.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.3414, allocations: 0.9312 MB / 453.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.3415, allocations: 32.45 kB / 453.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.3418, allocations: 366 kB / 453.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3419, allocations: 133 kB / 454 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.3421, allocations: 120 kB / 454.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3423, allocations: 326 kB / 454.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.3425, allocations: 120.2 kB / 454.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.3428, allocations: 164 kB / 454.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.3443, allocations: 0.7304 MB / 455.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3443, allocations: 1.375 kB / 455.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001018/0.3453, allocations: 0.5556 MB / 456 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.3454, allocations: 40.53 kB / 456 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.3454, allocations: 14.84 kB / 456.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.3456, allocations: 72.25 kB / 456.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.3459, allocations: 48.19 kB / 456.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.349, allocations: 3.332 MB / 459.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.3494, allocations: 12.14 kB / 459.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.3495, allocations: 21.28 kB / 459.5 MB, free: 8.035 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.0004543/0.35, allocations: 259.5 kB / 459.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.3501, allocations: 130.3 kB / 459.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.3515, allocations: 0.666 MB / 460.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3515, allocations: 7.984 kB / 460.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3515, allocations: 2.25 kB / 460.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3515, allocations: 2.109 kB / 460.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.3525, allocations: 0.6154 MB / 461.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.3525, allocations: 15.84 kB / 461.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.3527, allocations: 37.02 kB / 461.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.3529, allocations: 65.78 kB / 461.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.353, allocations: 24.94 kB / 461.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.356, allocations: 3.329 MB / 464.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.356, allocations: 0 / 464.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.3574, allocations: 0.8522 MB / 465.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/0.3578, allocations: 283.2 kB / 465.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3579, allocations: 7.781 kB / 465.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.3582, allocations: 15.66 kB / 465.8 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.3583, allocations: 33.55 kB / 465.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.3583, allocations: 19.75 kB / 465.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008639/0.3592, allocations: 0.6241 MB / 466.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3592, allocations: 8 kB / 466.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009751/0.3602, allocations: 228.6 kB / 466.7 MB, free: 2.758 MB / 366.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.00237/0.3625, allocations: 1.612 MB / 468.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3639, allocations: 0.7442 MB / 469.1 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3639, allocations: 4 kB / 469.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.3647, allocations: 0.5905 MB / 469.7 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.3654, allocations: 123.7 kB / 469.8 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/0.3742, allocations: 5.746 MB / 475.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.3748, allocations: 1.003 MB / 476.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.3751, allocations: 93.38 kB / 476.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.3754, allocations: 282.7 kB / 476.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3754, allocations: 0 / 476.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/0.436, allocations: 17.38 MB / 494.3 MB, free: 11.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 15.86 kB / 494.3 MB, free: 11.52 MB / 398.1 MB " [Timeout remaining time 648] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.707319336012006]