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.005202/0.005202, allocations: 113.4 kB / 21.97 MB, free: 5.254 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.001574/0.001574, allocations: 206.5 kB / 25.27 MB, free: 3.234 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.364/1.364, allocations: 207.6 MB / 236 MB, free: 9.984 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.001755/0.001755, allocations: 47.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2551, allocations: 49.17 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005446/0.2605, allocations: 5.242 MB / 402.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008088/0.2686, allocations: 6.617 MB / 409 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.2696, allocations: 64.5 kB / 409.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.271, allocations: 0.4897 MB / 409.5 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.2738, allocations: 0.8174 MB / 410.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.2751, allocations: 437.5 kB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.2784, allocations: 1.988 MB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.2786, allocations: 103.5 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005848/0.2792, allocations: 380.3 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.2797, allocations: 343 kB / 413.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.2797, allocations: 29.66 kB / 413.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.2809, allocations: 468.2 kB / 414.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.2811, allocations: 112 kB / 414.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.2815, allocations: 446 kB / 414.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.2831, allocations: 1.28 MB / 415.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2832, allocations: 1.062 kB / 415.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2832, allocations: 0 / 415.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2832, allocations: 7.938 kB / 415.9 MB, free: 12.9 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.002041/0.2852, allocations: 1.419 MB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2852, allocations: 12.83 kB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.915e-05/0.2853, allocations: 10.28 kB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.731e-05/0.2853, allocations: 62.34 kB / 417.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.2855, allocations: 136.5 kB / 417.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.2867, allocations: 0.7617 MB / 418.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.2867, allocations: 13.34 kB / 418.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.2867, allocations: 26.83 kB / 418.3 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.2873, allocations: 313.2 kB / 418.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2873, allocations: 3.938 kB / 418.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.2874, allocations: 14.45 kB / 418.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2874, allocations: 9.953 kB / 418.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.2878, allocations: 222.2 kB / 418.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2896, allocations: 1.071 MB / 420 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.29, allocations: 216.8 kB / 420.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.2905, allocations: 256.2 kB / 420.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/0.2912, allocations: 154.6 kB / 420.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2912, allocations: 47.81 kB / 420.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.723e-06/0.2912, allocations: 0 / 420.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002951/0.2942, allocations: 1.421 MB / 422 MB, free: 8.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.2943, allocations: 112.3 kB / 422.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.2953, allocations: 0.9348 MB / 423.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2953, allocations: 30.86 kB / 423.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.2956, allocations: 354.3 kB / 423.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.2957, allocations: 141.5 kB / 423.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.2959, allocations: 118.9 kB / 423.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2961, allocations: 324.9 kB / 424 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.2963, allocations: 125.5 kB / 424.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.2966, allocations: 161.2 kB / 424.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.298, allocations: 0.747 MB / 425.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.298, allocations: 0 / 425.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001046/0.2991, allocations: 0.5523 MB / 425.6 MB, free: 6.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.2991, allocations: 38.53 kB / 425.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.2992, allocations: 19.06 kB / 425.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.2994, allocations: 74.36 kB / 425.7 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2996, allocations: 44.66 kB / 425.8 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.3023, allocations: 3.116 MB / 428.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.3027, allocations: 16.02 kB / 428.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.3027, allocations: 28 kB / 428.9 MB, free: 2.867 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.0003929/0.3031, allocations: 247.9 kB / 429.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3033, allocations: 127.2 kB / 429.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.3047, allocations: 0.6803 MB / 430 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3047, allocations: 4 kB / 430 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3047, allocations: 3.984 kB / 430 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3047, allocations: 3.984 kB / 430 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.3056, allocations: 0.5916 MB / 430.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/0.3056, allocations: 12 kB / 430.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.3058, allocations: 39.91 kB / 430.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.306, allocations: 69.61 kB / 430.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.306, allocations: 20 kB / 430.7 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.3085, allocations: 3.117 MB / 433.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3085, allocations: 0 / 433.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3098, allocations: 0.8596 MB / 434.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.3101, allocations: 205.1 kB / 434.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3102, allocations: 15.92 kB / 434.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.3105, allocations: 16.05 kB / 434.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.3106, allocations: 31.95 kB / 435 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.3107, allocations: 19.98 kB / 435 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007644/0.3114, allocations: 0.6333 MB / 435.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3114, allocations: 0 / 435.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008986/0.3123, allocations: 219.6 kB / 435.8 MB, free: 11.63 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.002177/0.3145, allocations: 1.624 MB / 437.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3156, allocations: 0.7427 MB / 438.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3156, allocations: 0 / 438.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006823/0.3163, allocations: 0.5892 MB / 438.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.3168, allocations: 100.7 kB / 438.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007743/0.3246, allocations: 5.77 MB / 444.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.3252, allocations: 1 MB / 445.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.3255, allocations: 93.64 kB / 445.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.3258, allocations: 283.3 kB / 446 MB, free: 1.082 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3258, allocations: 0 / 446 MB, free: 1.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07207/0.3979, allocations: 17.65 MB / 463.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.87, allocations: 0 / 463.7 MB, free: 15.36 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.660738794016652]