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.001284/0.001284, allocations: 101.4 kB / 21.95 MB, free: 5.219 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.001366/0.001366, allocations: 214 kB / 25.26 MB, free: 3.129 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.335/1.335, allocations: 207.7 MB / 236.1 MB, free: 9.789 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",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.001652/0.001652, allocations: 51.92 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2358, allocations: 49.16 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004501/0.2403, allocations: 4.556 MB / 401.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.2464, allocations: 5.771 MB / 407.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.2469, allocations: 60.38 kB / 407.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.2479, allocations: 460 kB / 408 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.2496, allocations: 0.8285 MB / 408.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.2506, allocations: 438.1 kB / 409.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.2529, allocations: 1.986 MB / 411.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.2531, allocations: 107.7 kB / 411.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.2536, allocations: 378.6 kB / 411.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.254, allocations: 343.2 kB / 412 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.2541, allocations: 29.25 kB / 412 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.255, allocations: 467.5 kB / 412.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2551, allocations: 115.6 kB / 412.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.2555, allocations: 322.1 kB / 412.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.257, allocations: 1.294 MB / 414.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.257, allocations: 0 / 414.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.257, allocations: 0 / 414.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.257, allocations: 0 / 414.2 MB, free: 14.54 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.001821/0.2588, allocations: 1.415 MB / 415.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2589, allocations: 14.05 kB / 415.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.504e-05/0.2589, allocations: 13.12 kB / 415.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.259, allocations: 67.69 kB / 415.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.2591, allocations: 131.9 kB / 415.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.2602, allocations: 0.7652 MB / 416.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2602, allocations: 17.84 kB / 416.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.2602, allocations: 27.45 kB / 416.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.2608, allocations: 368.2 kB / 417 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2608, allocations: 7.875 kB / 417 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.2608, allocations: 10.12 kB / 417 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2609, allocations: 7 kB / 417 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.2613, allocations: 262.1 kB / 417.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.2629, allocations: 1.01 MB / 418.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.2633, allocations: 249.1 kB / 418.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.2638, allocations: 298.2 kB / 418.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007069/0.2645, allocations: 154.5 kB / 419 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2646, allocations: 36.5 kB / 419 MB, free: 11.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.963e-06/0.2646, allocations: 1.219 kB / 419 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002934/0.2675, allocations: 1.498 MB / 420.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.2676, allocations: 117.7 kB / 420.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009961/0.2686, allocations: 0.9343 MB / 421.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.2686, allocations: 30.98 kB / 421.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.2689, allocations: 362 kB / 422 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.269, allocations: 133.6 kB / 422.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.2692, allocations: 114.5 kB / 422.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2693, allocations: 317.7 kB / 422.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.2696, allocations: 162.1 kB / 422.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.2699, allocations: 221.2 kB / 422.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.2713, allocations: 0.7492 MB / 423.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2713, allocations: 0 / 423.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009934/0.2723, allocations: 0.6005 MB / 424.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.2723, allocations: 38.83 kB / 424.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.2723, allocations: 15.23 kB / 424.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.2726, allocations: 65.59 kB / 424.4 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.2728, allocations: 49.22 kB / 424.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.2755, allocations: 3.117 MB / 427.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.2759, allocations: 8.031 kB / 427.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.2759, allocations: 20 kB / 427.6 MB, free: 3.996 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.0004024/0.2763, allocations: 276.2 kB / 427.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.2765, allocations: 123.2 kB / 427.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.2777, allocations: 0.7014 MB / 428.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.2777, allocations: 4 kB / 428.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.2777, allocations: 11.98 kB / 428.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2778, allocations: 0 / 428.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.2785, allocations: 0.5488 MB / 429.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.2785, allocations: 12 kB / 429.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.2787, allocations: 35.91 kB / 429.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.2788, allocations: 69.67 kB / 429.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.2789, allocations: 20 kB / 429.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.2814, allocations: 3.109 MB / 432.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2814, allocations: 0 / 432.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2828, allocations: 0.945 MB / 433.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/0.2832, allocations: 201 kB / 433.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.2833, allocations: 8.125 kB / 433.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.2836, allocations: 19.98 kB / 433.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2837, allocations: 35.95 kB / 433.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.2838, allocations: 12 kB / 433.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000819/0.2846, allocations: 0.6334 MB / 434.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2846, allocations: 0 / 434.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008869/0.2855, allocations: 223.7 kB / 434.5 MB, free: 12.67 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.002175/0.2876, allocations: 1.701 MB / 436.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.2889, allocations: 0.8124 MB / 437 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2889, allocations: 4 kB / 437 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.2896, allocations: 0.6299 MB / 437.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.2902, allocations: 102 kB / 437.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/0.2982, allocations: 5.95 MB / 443.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.2986, allocations: 413 kB / 444.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.2989, allocations: 93.64 kB / 444.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.2992, allocations: 283.3 kB / 444.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2992, allocations: 0 / 444.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05075/0.35, allocations: 18.2 MB / 462.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.9, allocations: 8.047 kB / 462.7 MB, free: 15.98 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.647918028058484]