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.001389/0.001389, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001487/0.001487, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001572/0.001572, allocations: 48.08 kB / 373 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 53.33 MB / 426.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.206/0.3136, allocations: 5.225 MB / 431.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007017/0.3207, allocations: 6.689 MB / 438.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007839/0.3214, allocations: 65 kB / 438.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.3228, allocations: 0.4957 MB / 438.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.3253, allocations: 0.8291 MB / 439.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3265, allocations: 438.5 kB / 440 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.3295, allocations: 2.046 MB / 442.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.3297, allocations: 103.2 kB / 442.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.3302, allocations: 397 kB / 442.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.3306, allocations: 335.3 kB / 442.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.3307, allocations: 33.44 kB / 442.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.332, allocations: 0.4926 MB / 443.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3321, allocations: 107.9 kB / 443.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.3324, allocations: 449.6 kB / 444 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.3341, allocations: 1.289 MB / 445.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3341, allocations: 4 kB / 445.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3341, allocations: 0 / 445.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.3341, allocations: 5.891 kB / 445.3 MB, free: 2.141 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.002008/0.3361, allocations: 1.489 MB / 446.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3362, allocations: 10.59 kB / 446.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.3362, allocations: 60.44 kB / 446.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.3366, allocations: 151.6 kB / 447 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3376, allocations: 0.8568 MB / 447.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3376, allocations: 14.41 kB / 447.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.3377, allocations: 31.28 kB / 447.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.3383, allocations: 308.3 kB / 448.2 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3383, allocations: 1.031 kB / 448.2 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.3383, allocations: 10.47 kB / 448.2 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3383, allocations: 10.22 kB / 448.2 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.3387, allocations: 224 kB / 448.4 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.3407, allocations: 1.12 MB / 449.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.3411, allocations: 215.6 kB / 449.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.3416, allocations: 268.6 kB / 450 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.3429, allocations: 0.827 MB / 450.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.3429, allocations: 42.88 kB / 450.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/0.3429, allocations: 4 kB / 450.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003602/0.3465, allocations: 1.554 MB / 452.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.698e-05/0.3466, allocations: 117.6 kB / 452.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.348, allocations: 0.9336 MB / 453.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.3481, allocations: 31.08 kB / 453.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.3485, allocations: 361.7 kB / 453.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3486, allocations: 133.8 kB / 454 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.3489, allocations: 118.7 kB / 454.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3491, allocations: 321.8 kB / 454.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3494, allocations: 134.1 kB / 454.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.3497, allocations: 155.2 kB / 454.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.3513, allocations: 0.7347 MB / 455.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3513, allocations: 3.938 kB / 455.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001121/0.3524, allocations: 0.5522 MB / 456 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.3525, allocations: 40.38 kB / 456 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/0.3525, allocations: 12.98 kB / 456 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.3528, allocations: 76.09 kB / 456.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.353, allocations: 45.59 kB / 456.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.3562, allocations: 3.335 MB / 459.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.3568, allocations: 15.55 kB / 459.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.3568, allocations: 21.05 kB / 459.5 MB, free: 7.895 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.000536/0.3574, allocations: 257 kB / 459.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.3576, allocations: 130.7 kB / 459.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.3591, allocations: 0.6672 MB / 460.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3591, allocations: 3.828 kB / 460.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3591, allocations: 2.094 kB / 460.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3591, allocations: 1.594 kB / 460.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3601, allocations: 0.6157 MB / 461.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.3602, allocations: 16.94 kB / 461.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.3604, allocations: 31.44 kB / 461.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.3606, allocations: 76.62 kB / 461.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.3607, allocations: 19.17 kB / 461.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.3638, allocations: 3.326 MB / 464.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3638, allocations: 0 / 464.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.3655, allocations: 0.853 MB / 465.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005828/0.366, allocations: 276.5 kB / 465.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3661, allocations: 7.812 kB / 465.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.3664, allocations: 16.36 kB / 465.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3665, allocations: 40.61 kB / 465.9 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.3666, allocations: 20.12 kB / 465.9 MB, free: 2.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.3677, allocations: 0.6305 MB / 466.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0 / 466.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001219/0.3689, allocations: 229.5 kB / 466.7 MB, free: 2.625 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.002662/0.3716, allocations: 1.613 MB / 468.3 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.373, allocations: 0.7439 MB / 469.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.373, allocations: 0 / 469.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008267/0.3738, allocations: 0.595 MB / 469.7 MB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.3747, allocations: 124.9 kB / 469.8 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.3851, allocations: 5.75 MB / 475.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.386, allocations: 1.004 MB / 476.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.3863, allocations: 93.72 kB / 476.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.3867, allocations: 281.5 kB / 476.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3867, allocations: 0 / 476.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08895/0.4757, allocations: 17.37 MB / 494.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.32, allocations: 8.859 kB / 494.3 MB, free: 11.43 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 & 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.045407723009703]