Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001586/0.001586, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 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.001483/0.001483, allocations: 208 kB / 24.47 MB, free: 3.801 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 207.7 MB / 235.3 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 62.58 kB / 347.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2286, allocations: 49.16 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004952/0.2336, allocations: 4.574 MB / 400.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.2404, allocations: 5.773 MB / 406.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006998/0.2411, allocations: 61.09 kB / 406.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.2423, allocations: 467.1 kB / 407.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.2444, allocations: 0.8201 MB / 408 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2456, allocations: 442.5 kB / 408.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.2483, allocations: 1.979 MB / 410.4 MB, free: 128 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.2485, allocations: 103.4 kB / 410.5 MB, free: 64 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.2491, allocations: 378.3 kB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.2495, allocations: 322.5 kB / 411.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.2496, allocations: 30.31 kB / 411.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.2507, allocations: 447 kB / 411.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2508, allocations: 110.4 kB / 411.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.2512, allocations: 323.1 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.2527, allocations: 1.303 MB / 413.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2527, allocations: 0 / 413.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2527, allocations: 0 / 413.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2528, allocations: 1.156 kB / 413.4 MB, free: 14.57 MB / 334.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.002191/0.2549, allocations: 1.417 MB / 414.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.255, allocations: 13.14 kB / 414.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/0.2551, allocations: 63.12 kB / 414.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.2552, allocations: 133 kB / 415 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.2565, allocations: 0.765 MB / 415.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.2566, allocations: 17.62 kB / 415.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.2566, allocations: 26.58 kB / 415.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.2573, allocations: 373.5 kB / 416.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2573, allocations: 4 kB / 416.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.2573, allocations: 14.5 kB / 416.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2573, allocations: 5.156 kB / 416.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.2578, allocations: 258.1 kB / 416.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.2596, allocations: 1.007 MB / 417.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.2601, allocations: 252.6 kB / 417.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.2606, allocations: 294.1 kB / 418 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.2614, allocations: 166.6 kB / 418.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.2614, allocations: 36.78 kB / 418.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.804e-06/0.2614, allocations: 0 / 418.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003044/0.2644, allocations: 1.491 MB / 419.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.2645, allocations: 112.3 kB / 419.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.2656, allocations: 0.9312 MB / 420.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.2657, allocations: 31.58 kB / 420.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.266, allocations: 365.9 kB / 421.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2661, allocations: 133.9 kB / 421.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.2663, allocations: 118.5 kB / 421.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2664, allocations: 321.4 kB / 421.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.2667, allocations: 162.2 kB / 421.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.267, allocations: 224.9 kB / 422.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.2684, allocations: 0.7443 MB / 422.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2684, allocations: 0 / 422.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001027/0.2694, allocations: 0.598 MB / 423.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.2695, allocations: 42.25 kB / 423.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.2695, allocations: 10.78 kB / 423.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.2698, allocations: 74.02 kB / 423.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.27, allocations: 50 kB / 423.6 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.2727, allocations: 3.108 MB / 426.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.2731, allocations: 16.02 kB / 426.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.2731, allocations: 20.12 kB / 426.7 MB, free: 4.066 MB / 334.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.0003987/0.2735, allocations: 259.8 kB / 427 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.2737, allocations: 131.2 kB / 427.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.275, allocations: 0.7092 MB / 427.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.275, allocations: 0 / 427.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.275, allocations: 4 kB / 427.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.275, allocations: 3.984 kB / 427.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.2757, allocations: 0.5488 MB / 428.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.2757, allocations: 11.98 kB / 428.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2759, allocations: 39.92 kB / 428.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.2761, allocations: 69.67 kB / 428.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.2762, allocations: 23.98 kB / 428.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.2787, allocations: 3.109 MB / 431.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2787, allocations: 0 / 431.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2801, allocations: 0.9371 MB / 432.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.2806, allocations: 209 kB / 432.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2807, allocations: 11.94 kB / 432.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.281, allocations: 12.11 kB / 432.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.2811, allocations: 39.95 kB / 432.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.2811, allocations: 16 kB / 432.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007841/0.2819, allocations: 0.6256 MB / 433.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2819, allocations: 3.938 kB / 433.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008878/0.2828, allocations: 223.6 kB / 433.7 MB, free: 12.74 MB / 350.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.00235/0.2851, allocations: 1.69 MB / 435.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.2863, allocations: 0.8164 MB / 436.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2864, allocations: 4 kB / 436.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.2871, allocations: 0.6298 MB / 436.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.2877, allocations: 108.7 kB / 436.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008112/0.2958, allocations: 5.942 MB / 442.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2962, allocations: 417 kB / 443.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.2965, allocations: 93.64 kB / 443.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.2968, allocations: 279.3 kB / 443.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2968, allocations: 4 kB / 443.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05584/0.3526, allocations: 18.43 MB / 462.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.77, allocations: 12 kB / 462.1 MB, free: 15.83 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv. Warning: Get data of variable D3.n.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.290463947225362]