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.00185/0.00185, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.002367/0.002367, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.498/1.498, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.002625/0.002625, allocations: 55.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3336, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00552/0.3391, allocations: 5.244 MB / 401.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008246/0.3473, allocations: 6.615 MB / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008807/0.3482, allocations: 61.06 kB / 408.3 MB, free: 360 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.3498, allocations: 498.3 kB / 408.7 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.3527, allocations: 0.8264 MB / 409.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3543, allocations: 436.8 kB / 410 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.358, allocations: 1.992 MB / 412 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.3583, allocations: 107.5 kB / 412.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007674/0.3591, allocations: 371.3 kB / 412.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.3596, allocations: 344 kB / 412.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/0.3597, allocations: 34.31 kB / 412.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.3612, allocations: 471.6 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3613, allocations: 111.6 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.3618, allocations: 442.3 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.364, allocations: 1.282 MB / 415.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.364, allocations: 3.938 kB / 415.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.364, allocations: 0 / 415.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.364, allocations: 0 / 415.1 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.002245/0.3662, allocations: 1.418 MB / 416.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3663, allocations: 14.73 kB / 416.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.3664, allocations: 61.8 kB / 416.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3665, allocations: 136.5 kB / 416.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.3678, allocations: 0.7691 MB / 417.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.3678, allocations: 17.88 kB / 417.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.3679, allocations: 30.59 kB / 417.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.3684, allocations: 308.9 kB / 417.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3684, allocations: 1.094 kB / 417.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.3684, allocations: 10.22 kB / 417.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.3685, allocations: 5.625 kB / 417.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.3689, allocations: 234.5 kB / 418.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.3707, allocations: 1.059 MB / 419.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.3711, allocations: 220.2 kB / 419.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.3716, allocations: 257.4 kB / 419.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007945/0.3724, allocations: 161.9 kB / 419.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.3724, allocations: 35.66 kB / 419.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.3724, allocations: 1.094 kB / 419.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003109/0.3755, allocations: 1.415 MB / 421.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.3756, allocations: 113.9 kB / 421.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3767, allocations: 0.9341 MB / 422.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.3767, allocations: 35.11 kB / 422.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.377, allocations: 358.9 kB / 422.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3771, allocations: 136.6 kB / 422.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.3773, allocations: 118.3 kB / 422.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3775, allocations: 325.7 kB / 423.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.3777, allocations: 124.8 kB / 423.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.378, allocations: 165.5 kB / 423.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.3794, allocations: 0.7349 MB / 424.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3794, allocations: 1.312 kB / 424.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001002/0.3804, allocations: 0.5632 MB / 424.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.3804, allocations: 43 kB / 424.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.3805, allocations: 11.84 kB / 424.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.3807, allocations: 65.06 kB / 424.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3809, allocations: 53.12 kB / 425 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.3837, allocations: 3.121 MB / 428.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.3841, allocations: 12.03 kB / 428.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.3842, allocations: 19.98 kB / 428.1 MB, free: 2.879 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.0004352/0.3846, allocations: 268 kB / 428.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.3848, allocations: 127.2 kB / 428.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3861, allocations: 0.6646 MB / 429.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3861, allocations: 11.98 kB / 429.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3861, allocations: 4 kB / 429.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3861, allocations: 3.984 kB / 429.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/0.3869, allocations: 0.5877 MB / 429.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/0.387, allocations: 16 kB / 429.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3872, allocations: 35.91 kB / 429.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.3873, allocations: 69.67 kB / 429.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3874, allocations: 16 kB / 429.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.39, allocations: 3.117 MB / 433 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.39, allocations: 0 / 433 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3914, allocations: 0.8753 MB / 433.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.3919, allocations: 205 kB / 434.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.392, allocations: 8.125 kB / 434.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3923, allocations: 19.98 kB / 434.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.3924, allocations: 27.95 kB / 434.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.3924, allocations: 23.94 kB / 434.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007683/0.3932, allocations: 0.6295 MB / 434.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3932, allocations: 4.062 kB / 434.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009035/0.3941, allocations: 223.6 kB / 435.1 MB, free: 11.62 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.002209/0.3963, allocations: 1.608 MB / 436.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3976, allocations: 0.7427 MB / 437.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3976, allocations: 0 / 437.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007171/0.3983, allocations: 0.593 MB / 438 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.3989, allocations: 100.8 kB / 438.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.4071, allocations: 5.771 MB / 443.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.4077, allocations: 0.9961 MB / 444.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.408, allocations: 97.62 kB / 445 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.4083, allocations: 283.3 kB / 445.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4083, allocations: 0 / 445.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07085/0.4792, allocations: 17.62 MB / 462.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.05, allocations: 8.047 kB / 462.9 MB, free: 15.39 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.81086094211787]