Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008994/0.0008994, allocations: 153.1 kB / 23.93 MB, free: 0.6367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8611/0.8611, allocations: 173.4 MB / 200.4 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.709e-05, allocations: 6.281 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004958/0.004975, allocations: 5.525 MB / 324 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.008041, allocations: 2.032 MB / 326 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.008401, allocations: 23.94 kB / 326 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.009429, allocations: 0.7405 MB / 326.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01047, allocations: 0.753 MB / 327.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.01112, allocations: 494.5 kB / 328 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009988/0.01212, allocations: 1.218 MB / 329.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/0.01297, allocations: 0.7491 MB / 330 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.01354, allocations: 0.6744 MB / 330.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.01394, allocations: 410.8 kB / 331 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.01405, allocations: 112 kB / 331.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.01438, allocations: 263.6 kB / 331.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.01452, allocations: 251.1 kB / 331.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.01476, allocations: 375.1 kB / 332 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01577, allocations: 1.487 MB / 333.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01577, allocations: 4 kB / 333.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01577, allocations: 3.938 kB / 333.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.01579, allocations: 0 / 333.5 MB, free: 7.18 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001953/0.01774, allocations: 1.642 MB / 335.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.01778, allocations: 12.92 kB / 335.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.01795, allocations: 154.4 kB / 335.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.01901, allocations: 371.9 kB / 335.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.0196, allocations: 0.5087 MB / 336.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.01964, allocations: 78.38 kB / 336.3 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.01973, allocations: 96.38 kB / 336.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.02088, allocations: 1.124 MB / 337.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.0209, allocations: 4.188 kB / 337.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.02096, allocations: 47.94 kB / 337.5 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.02098, allocations: 24 kB / 337.6 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.02203, allocations: 0.8472 MB / 338.4 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.02509, allocations: 3.071 MB / 341.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.0262, allocations: 0.8555 MB / 342.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.02672, allocations: 395.5 kB / 342.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.02678, allocations: 12.66 kB / 342.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.02734, allocations: 0.5895 MB / 343.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.144e-06/0.02734, allocations: 3.938 kB / 343.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.002496/0.02984, allocations: 1.493 MB / 344.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.02992, allocations: 200.9 kB / 345 MB, free: 11.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.03026, allocations: 461.9 kB / 345.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.0303, allocations: 45.69 kB / 345.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.03049, allocations: 420.7 kB / 345.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.03064, allocations: 289.6 kB / 346.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.03079, allocations: 158.6 kB / 346.4 MB, free: 9.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.0309, allocations: 378.7 kB / 346.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.03125, allocations: 265.9 kB / 347 MB, free: 9.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.03172, allocations: 0.5723 MB / 347.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.03251, allocations: 0.7356 MB / 348.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.03252, allocations: 3.938 kB / 348.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001202/0.03372, allocations: 1.014 MB / 349.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.03374, allocations: 10.81 kB / 349.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.03375, allocations: 4 kB / 349.3 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.03424, allocations: 272.5 kB / 349.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.03453, allocations: 143.7 kB / 349.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.03797, allocations: 4.602 MB / 354.3 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.03826, allocations: 95.39 kB / 354.4 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.0383, allocations: 39.98 kB / 354.5 MB, free: 1.371 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.03854, allocations: 241.6 kB / 354.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.03861, allocations: 79.5 kB / 354.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.03981, allocations: 0.9513 MB / 355.7 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.03981, allocations: 8 kB / 355.7 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.03981, allocations: 8.125 kB / 355.7 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.03982, allocations: 7.984 kB / 355.8 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.04174, allocations: 1.76 MB / 357.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.04174, allocations: 0 / 357.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.04197, allocations: 99.81 kB / 357.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.04239, allocations: 261.5 kB / 357.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.04243, allocations: 19.98 kB / 357.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.04577, allocations: 4.559 MB / 362.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.04577, allocations: 0 / 362.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.04746, allocations: 1.358 MB / 363.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.04765, allocations: 147.2 kB / 363.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.04771, allocations: 23.94 kB / 364 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.04792, allocations: 43.97 kB / 364 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.04804, allocations: 72.86 kB / 364.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.04807, allocations: 23.98 kB / 364.1 MB, free: 7.383 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.0483, allocations: 314.9 kB / 364.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0483, allocations: 0 / 364.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006387/0.04893, allocations: 303.4 kB / 364.7 MB, free: 6.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.05075, allocations: 1.965 MB / 366.7 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.05219, allocations: 1.045 MB / 367.7 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.05219, allocations: 0 / 367.7 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.05286, allocations: 0.7134 MB / 368.4 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.05326, allocations: 124.8 kB / 368.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.0597, allocations: 6.4 MB / 375 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.05998, allocations: 400.4 kB / 375.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.06018, allocations: 85.33 kB / 375.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.06045, allocations: 320.4 kB / 375.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.06045, allocations: 0 / 375.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.09246, allocations: 19.83 MB / 395.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.38, allocations: 0 / 395.6 MB, free: 7.801 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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: 10.310189763084054]