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.001501/0.001501, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002078/0.002078, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 43.92 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2338, allocations: 53.36 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006245/0.2401, allocations: 5.247 MB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00907/0.2491, allocations: 6.706 MB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.2498, allocations: 63.31 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.2511, allocations: 0.5041 MB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.2534, allocations: 0.8302 MB / 445.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.2547, allocations: 441.3 kB / 445.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003181/0.2578, allocations: 2.056 MB / 447.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.2581, allocations: 99.27 kB / 447.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005502/0.2586, allocations: 398.1 kB / 448.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.2591, allocations: 341.7 kB / 448.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.2591, allocations: 32 kB / 448.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2602, allocations: 0.4995 MB / 449.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2603, allocations: 107.3 kB / 449.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.2607, allocations: 445 kB / 449.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.2623, allocations: 1.291 MB / 450.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2623, allocations: 8 kB / 450.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2623, allocations: 0 / 450.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.2623, allocations: 0 / 450.9 MB, free: 3.754 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.002069/0.2644, allocations: 1.411 MB / 452.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2645, allocations: 12.03 kB / 452.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.178e-05/0.2645, allocations: 4.438 kB / 452.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.2645, allocations: 62.53 kB / 452.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.2649, allocations: 155 kB / 452.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.266, allocations: 0.76 MB / 453.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2661, allocations: 24.42 kB / 453.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.2661, allocations: 27.95 kB / 453.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.2666, allocations: 303.3 kB / 453.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2667, allocations: 4 kB / 453.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.2667, allocations: 4 kB / 453.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.2667, allocations: 15.92 kB / 453.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.2671, allocations: 225.8 kB / 453.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2689, allocations: 1.061 MB / 455 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.2693, allocations: 219.2 kB / 455.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/0.2697, allocations: 265.6 kB / 455.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007198/0.2705, allocations: 165.4 kB / 455.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.2705, allocations: 38.55 kB / 455.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.573e-06/0.2705, allocations: 0 / 455.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002857/0.2734, allocations: 1.427 MB / 457.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.2734, allocations: 106.8 kB / 457.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2745, allocations: 0.9379 MB / 458.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.2745, allocations: 29.7 kB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.2749, allocations: 357.8 kB / 458.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.275, allocations: 138.8 kB / 458.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2752, allocations: 121.7 kB / 458.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2753, allocations: 325.9 kB / 459.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.2755, allocations: 124.6 kB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.2758, allocations: 160.4 kB / 459.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.2773, allocations: 0.7415 MB / 460.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2773, allocations: 0 / 460.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009838/0.2783, allocations: 0.5663 MB / 460.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.2783, allocations: 41.64 kB / 460.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/0.2784, allocations: 15.98 kB / 460.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.2786, allocations: 69.69 kB / 460.8 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.2788, allocations: 47.91 kB / 460.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.2815, allocations: 3.129 MB / 464 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.2818, allocations: 11.98 kB / 464 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.2819, allocations: 20 kB / 464 MB, free: 6.109 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.0004532/0.2823, allocations: 267.9 kB / 464.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.2825, allocations: 127.3 kB / 464.4 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.2838, allocations: 0.6607 MB / 465 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2838, allocations: 4 kB / 465 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2838, allocations: 0 / 465 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2839, allocations: 0 / 465 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.2847, allocations: 0.5955 MB / 465.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/0.2847, allocations: 19.98 kB / 465.7 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.2849, allocations: 35.92 kB / 465.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.2851, allocations: 69.67 kB / 465.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.2851, allocations: 15.98 kB / 465.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.2876, allocations: 3.121 MB / 468.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2876, allocations: 4.062 kB / 468.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.289, allocations: 0.8592 MB / 469.8 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.2894, allocations: 205.2 kB / 470 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.2895, allocations: 8 kB / 470 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.2898, allocations: 15.88 kB / 470 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.2899, allocations: 35.94 kB / 470 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.2899, allocations: 16 kB / 470 MB, free: 15.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008012/0.2907, allocations: 0.6295 MB / 470.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2907, allocations: 0 / 470.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.2915, allocations: 227.6 kB / 470.9 MB, free: 14.87 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.002131/0.2936, allocations: 1.612 MB / 472.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.2948, allocations: 0.7384 MB / 473.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2948, allocations: 4.062 kB / 473.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.2955, allocations: 0.6008 MB / 473.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.2962, allocations: 124.7 kB / 474 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008388/0.3046, allocations: 5.741 MB / 479.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.3053, allocations: 1.004 MB / 480.7 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.3055, allocations: 93.64 kB / 480.8 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.3059, allocations: 283.3 kB / 481.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3059, allocations: 0 / 481.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04973/0.3556, allocations: 17.7 MB / 498.8 MB, free: 2.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.8, allocations: 14.59 kB / 498.8 MB, free: 2.816 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.692369896976743]