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.00137/0.00137, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001494/0.001494, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.482/1.482, allocations: 230.4 MB / 254 MB, free: 15.03 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.001862/0.001862, allocations: 71.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 53.37 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.2133/0.3173, allocations: 5.222 MB / 431.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006699/0.324, allocations: 6.692 MB / 438.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.3246, allocations: 64.88 kB / 438.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.3258, allocations: 0.4959 MB / 438.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.328, allocations: 0.8251 MB / 439.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3292, allocations: 442.4 kB / 440.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002916/0.3321, allocations: 2.048 MB / 442.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.3324, allocations: 98.5 kB / 442.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.3329, allocations: 387.3 kB / 442.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.3333, allocations: 345.2 kB / 442.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.3334, allocations: 32.81 kB / 443 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3348, allocations: 0.4963 MB / 443.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3349, allocations: 112 kB / 443.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.3353, allocations: 442.5 kB / 444 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.337, allocations: 1.296 MB / 445.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.337, allocations: 0 / 445.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.337, allocations: 1.125 kB / 445.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.337, allocations: 0 / 445.3 MB, free: 1.906 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.001844/0.3388, allocations: 1.493 MB / 446.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3389, allocations: 8.938 kB / 446.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.3389, allocations: 61.38 kB / 446.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.3392, allocations: 156.3 kB / 447 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.3403, allocations: 0.8565 MB / 447.9 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3403, allocations: 18.56 kB / 447.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.3404, allocations: 26.52 kB / 447.9 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.3409, allocations: 305.6 kB / 448.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3409, allocations: 0 / 448.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.341, allocations: 6.953 kB / 448.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.341, allocations: 16.97 kB / 448.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.3415, allocations: 228.2 kB / 448.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3434, allocations: 1.109 MB / 449.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.3438, allocations: 226 kB / 449.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.3444, allocations: 261.5 kB / 450 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.3455, allocations: 0.8357 MB / 450.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.3456, allocations: 36.62 kB / 450.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.843e-06/0.3456, allocations: 0 / 450.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003538/0.3491, allocations: 1.559 MB / 452.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.3492, allocations: 114.3 kB / 452.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3505, allocations: 0.9407 MB / 453.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.3505, allocations: 31.08 kB / 453.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.3509, allocations: 353.9 kB / 453.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.351, allocations: 133.8 kB / 454 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.3512, allocations: 118.2 kB / 454.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3514, allocations: 327.7 kB / 454.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3517, allocations: 121.2 kB / 454.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.352, allocations: 162.8 kB / 454.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.3537, allocations: 0.727 MB / 455.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3537, allocations: 0.6094 kB / 455.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001025/0.3547, allocations: 0.5633 MB / 456 MB, free: 11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.3548, allocations: 36.25 kB / 456.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/0.3548, allocations: 17.59 kB / 456.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.3551, allocations: 71.39 kB / 456.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3553, allocations: 45.39 kB / 456.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.3587, allocations: 3.336 MB / 459.5 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.3591, allocations: 15.22 kB / 459.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.3591, allocations: 17.14 kB / 459.6 MB, free: 7.66 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.0004597/0.3596, allocations: 265.7 kB / 459.8 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.3598, allocations: 129.6 kB / 460 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.3612, allocations: 0.668 MB / 460.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.3612, allocations: 6.781 kB / 460.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3612, allocations: 2.219 kB / 460.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3612, allocations: 1.688 kB / 460.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3623, allocations: 0.6114 MB / 461.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/0.3623, allocations: 19.41 kB / 461.3 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.3625, allocations: 36.97 kB / 461.3 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.3628, allocations: 72.27 kB / 461.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.3628, allocations: 23.52 kB / 461.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.3663, allocations: 3.32 MB / 464.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3663, allocations: 0 / 464.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.3678, allocations: 0.8557 MB / 465.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.3682, allocations: 281.8 kB / 465.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.3683, allocations: 9.094 kB / 465.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.3686, allocations: 13.84 kB / 465.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.3687, allocations: 33.12 kB / 465.9 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.3687, allocations: 20.83 kB / 465.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008912/0.3696, allocations: 0.6311 MB / 466.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3696, allocations: 0 / 466.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3706, allocations: 228.1 kB / 466.8 MB, free: 2.391 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.002702/0.3733, allocations: 1.599 MB / 468.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.3747, allocations: 0.7596 MB / 469.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3747, allocations: 1.344 kB / 469.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008863/0.3755, allocations: 0.5863 MB / 469.7 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.3763, allocations: 124.9 kB / 469.8 MB, free: 28 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008541/0.3848, allocations: 5.757 MB / 475.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.3855, allocations: 0.9994 MB / 476.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.3857, allocations: 98.48 kB / 476.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.3862, allocations: 286 kB / 477 MB, free: 11.38 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3862, allocations: 0 / 477 MB, free: 11.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07483/0.461, allocations: 17.37 MB / 494.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 7.125 kB / 494.4 MB, free: 11.12 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.csv. Warning: Get data of variable D3.n.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.449331659008749]