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.001445/0.001445, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001629/0.001629, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.425/1.425, allocations: 230.5 MB / 258.2 MB, free: 8.027 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.91 kB / 378.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.287, allocations: 53.41 MB / 432 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007139/0.2942, allocations: 5.245 MB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3047, allocations: 6.72 MB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.3059, allocations: 63.38 kB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.3084, allocations: 0.49 MB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.3142, allocations: 0.8341 MB / 445.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.3169, allocations: 442.4 kB / 445.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006472/0.3234, allocations: 2.052 MB / 447.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/0.324, allocations: 103.2 kB / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.3252, allocations: 394.1 kB / 448.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009408/0.3261, allocations: 345.7 kB / 448.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.3263, allocations: 28 kB / 448.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.3285, allocations: 0.4956 MB / 449.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.3287, allocations: 111.2 kB / 449.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008491/0.3295, allocations: 449 kB / 449.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.3327, allocations: 1.291 MB / 451 MB, free: 3.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3328, allocations: 0 / 451 MB, free: 3.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3328, allocations: 0 / 451 MB, free: 3.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.3328, allocations: 3.938 kB / 451 MB, free: 3.707 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.002603/0.3354, allocations: 1.415 MB / 452.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3354, allocations: 8.031 kB / 452.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.069e-05/0.3355, allocations: 4.438 kB / 452.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.248e-05/0.3355, allocations: 66.53 kB / 452.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.3359, allocations: 155 kB / 452.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.3372, allocations: 0.7561 MB / 453.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3372, allocations: 16.44 kB / 453.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.3373, allocations: 27.95 kB / 453.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.3379, allocations: 315.2 kB / 453.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3379, allocations: 0 / 453.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.338, allocations: 4 kB / 453.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.338, allocations: 15.94 kB / 453.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.3384, allocations: 221.9 kB / 454 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.3404, allocations: 1.061 MB / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.3408, allocations: 222.1 kB / 455.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.3413, allocations: 257.7 kB / 455.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/0.3421, allocations: 173.3 kB / 455.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3421, allocations: 38.5 kB / 455.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.973e-06/0.3421, allocations: 0 / 455.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003169/0.3453, allocations: 1.427 MB / 457.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.3454, allocations: 110.8 kB / 457.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3466, allocations: 0.9418 MB / 458.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.3466, allocations: 29.7 kB / 458.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.3469, allocations: 353.8 kB / 458.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.3471, allocations: 138.8 kB / 458.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3473, allocations: 117.7 kB / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3474, allocations: 325.9 kB / 459.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.3477, allocations: 128.5 kB / 459.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.348, allocations: 164.4 kB / 459.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.3495, allocations: 0.7372 MB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3495, allocations: 0 / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001042/0.3506, allocations: 0.5586 MB / 460.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.3506, allocations: 48.34 kB / 460.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.3507, allocations: 12 kB / 460.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.3509, allocations: 73.66 kB / 460.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3511, allocations: 47.91 kB / 460.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.3542, allocations: 3.125 MB / 464 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.3545, allocations: 16.03 kB / 464 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.3546, allocations: 23.94 kB / 464 MB, free: 6.062 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.0004632/0.3551, allocations: 263.9 kB / 464.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.3553, allocations: 123.2 kB / 464.4 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.3567, allocations: 0.6685 MB / 465.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3567, allocations: 4 kB / 465.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3567, allocations: 0 / 465.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.3567, allocations: 0 / 465.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/0.3576, allocations: 0.5916 MB / 465.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/0.3576, allocations: 16 kB / 465.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.3578, allocations: 31.97 kB / 465.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.358, allocations: 73.62 kB / 465.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.3581, allocations: 15.98 kB / 465.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.3609, allocations: 3.132 MB / 469 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3609, allocations: 0 / 469 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3625, allocations: 0.8594 MB / 469.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.363, allocations: 197 kB / 470 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.3632, allocations: 8 kB / 470 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.3635, allocations: 19.92 kB / 470 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3636, allocations: 31.95 kB / 470.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.3637, allocations: 12 kB / 470.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.3647, allocations: 0.6451 MB / 470.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3647, allocations: 0 / 470.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009506/0.3657, allocations: 223.6 kB / 470.9 MB, free: 14.82 MB / 382.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.002483/0.3681, allocations: 1.605 MB / 472.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3695, allocations: 0.7423 MB / 473.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3695, allocations: 0 / 473.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.3703, allocations: 0.6047 MB / 473.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008515/0.3711, allocations: 112.8 kB / 474 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009271/0.3804, allocations: 5.757 MB / 479.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.3811, allocations: 1 MB / 480.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.3814, allocations: 93.64 kB / 480.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.3818, allocations: 283.3 kB / 481.1 MB, free: 4.277 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3818, allocations: 0 / 481.1 MB, free: 4.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07377/0.4555, allocations: 17.67 MB / 498.8 MB, free: 2.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.78, allocations: 19.02 kB / 498.8 MB, free: 2.723 MB / 398.1 MB " [Timeout remaining time 646] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.742955833964515]