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.001326/0.001326, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001382/0.001382, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.454/1.454, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001834/0.001834, allocations: 67.89 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1051, allocations: 53.32 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1955/0.3007, allocations: 5.216 MB / 431.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.3082, allocations: 6.692 MB / 438.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000957/0.3091, allocations: 40.28 kB / 438.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.3107, allocations: 0.5027 MB / 439.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.3133, allocations: 0.824 MB / 439.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.3147, allocations: 441.9 kB / 440.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003561/0.3183, allocations: 2.041 MB / 442.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.3186, allocations: 102.8 kB / 442.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000664/0.3192, allocations: 375.5 kB / 442.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.3196, allocations: 355.3 kB / 443.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.3197, allocations: 30.22 kB / 443.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.321, allocations: 495.3 kB / 443.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.3211, allocations: 116.1 kB / 443.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.3214, allocations: 446.6 kB / 444.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.3231, allocations: 1.292 MB / 445.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3231, allocations: 1.062 kB / 445.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3231, allocations: 0 / 445.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.3232, allocations: 0 / 445.6 MB, free: 2.391 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.002097/0.3253, allocations: 1.494 MB / 447.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3253, allocations: 13.19 kB / 447.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.3254, allocations: 61.44 kB / 447.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.3257, allocations: 155.8 kB / 447.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.327, allocations: 0.858 MB / 448.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.327, allocations: 17.97 kB / 448.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.3271, allocations: 22.39 kB / 448.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.3276, allocations: 309.2 kB / 448.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3276, allocations: 4 kB / 448.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.3277, allocations: 11.28 kB / 448.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3277, allocations: 10.31 kB / 448.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.3281, allocations: 228.8 kB / 448.7 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.33, allocations: 1.119 MB / 449.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.3304, allocations: 219.6 kB / 450.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.3309, allocations: 264.8 kB / 450.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.3321, allocations: 0.831 MB / 451.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3322, allocations: 33.98 kB / 451.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.255e-06/0.3322, allocations: 0 / 451.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003415/0.3356, allocations: 1.561 MB / 452.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.3357, allocations: 117.8 kB / 452.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.337, allocations: 0.9374 MB / 453.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.337, allocations: 27.42 kB / 453.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.3373, allocations: 360.6 kB / 454.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3375, allocations: 138.8 kB / 454.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.3377, allocations: 119 kB / 454.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3378, allocations: 325.5 kB / 454.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.3381, allocations: 126.3 kB / 454.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3384, allocations: 155.3 kB / 455 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3399, allocations: 0.7262 MB / 455.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3399, allocations: 4.75 kB / 455.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001104/0.341, allocations: 0.5553 MB / 456.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.341, allocations: 41.41 kB / 456.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/0.3411, allocations: 12.55 kB / 456.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.3413, allocations: 76.17 kB / 456.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.3416, allocations: 44.52 kB / 456.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.3445, allocations: 3.327 MB / 459.8 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.345, allocations: 12.14 kB / 459.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.345, allocations: 21.19 kB / 459.8 MB, free: 8.145 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.0004963/0.3455, allocations: 271.6 kB / 460.1 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.3457, allocations: 130.3 kB / 460.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.3471, allocations: 0.6637 MB / 460.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3471, allocations: 3.094 kB / 460.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3471, allocations: 3.688 kB / 460.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3471, allocations: 10.08 kB / 460.9 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009873/0.3481, allocations: 0.6144 MB / 461.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.409e-05/0.3481, allocations: 16.41 kB / 461.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.3483, allocations: 34.72 kB / 461.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.3486, allocations: 73.33 kB / 461.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.3486, allocations: 16.11 kB / 461.7 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.3515, allocations: 3.324 MB / 465 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3515, allocations: 0 / 465 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.353, allocations: 0.8547 MB / 465.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.3535, allocations: 284.4 kB / 466.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3536, allocations: 7.562 kB / 466.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3539, allocations: 16.34 kB / 466.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.354, allocations: 35.22 kB / 466.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.3541, allocations: 20.3 kB / 466.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008529/0.3549, allocations: 0.6244 MB / 466.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3549, allocations: 0 / 466.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001001/0.3559, allocations: 229.7 kB / 467.1 MB, free: 2.875 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.002419/0.3583, allocations: 1.614 MB / 468.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.3596, allocations: 0.7476 MB / 469.4 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3596, allocations: 0 / 469.4 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.3603, allocations: 0.5878 MB / 470 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.3611, allocations: 120.8 kB / 470.1 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.37, allocations: 5.764 MB / 475.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.3707, allocations: 1.005 MB / 476.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.371, allocations: 92.59 kB / 477 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.3714, allocations: 285.5 kB / 477.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3714, allocations: 1.281 kB / 477.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05654/0.4279, allocations: 17.38 MB / 494.6 MB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.2, allocations: 8.328 kB / 494.6 MB, free: 11.65 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 & /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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.892093013972044]