Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.00139/0.00139, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001624/0.001624, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 51.91 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1042, allocations: 53.33 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.1999/0.3041, allocations: 6.301 MB / 432.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3079, allocations: 2.255 MB / 434.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007535/0.3086, allocations: 26.28 kB / 434.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.3105, allocations: 0.7503 MB / 435.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.3122, allocations: 0.6136 MB / 436.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3133, allocations: 0.5252 MB / 436.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.3149, allocations: 1.192 MB / 438 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.3161, allocations: 0.6735 MB / 438.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009245/0.317, allocations: 484 kB / 439.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009677/0.318, allocations: 0.5421 MB / 439.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.3183, allocations: 110.2 kB / 439.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.3191, allocations: 285.8 kB / 440.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3192, allocations: 248.7 kB / 440.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.3197, allocations: 0.551 MB / 440.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.3215, allocations: 1.494 MB / 442.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3215, allocations: 0 / 442.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3215, allocations: 0 / 442.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.3215, allocations: 4 kB / 442.4 MB, free: 3.91 MB / 350.1 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.00323/0.3247, allocations: 1.472 MB / 443.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3248, allocations: 9.75 kB / 443.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002501/0.325, allocations: 164.8 kB / 444 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.3277, allocations: 393.5 kB / 444.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3289, allocations: 0.5921 MB / 445 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.3289, allocations: 80.38 kB / 445 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.3291, allocations: 103.3 kB / 445.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.3312, allocations: 1.023 MB / 446.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.3312, allocations: 2 kB / 446.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.3313, allocations: 42.36 kB / 446.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.3313, allocations: 24.78 kB / 446.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.3329, allocations: 0.8636 MB / 447.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/0.3389, allocations: 3.616 MB / 450.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.3415, allocations: 1.82 MB / 452.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009956/0.3425, allocations: 420.5 kB / 452.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.3427, allocations: 178.9 kB / 453.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009271/0.3436, allocations: 0.4892 MB / 453.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.3436, allocations: 0 / 453.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004864/0.3485, allocations: 1.678 MB / 455.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.3486, allocations: 190.5 kB / 455.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.3492, allocations: 484.5 kB / 456 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.3493, allocations: 44.08 kB / 456 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.3496, allocations: 424.6 kB / 456.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.3499, allocations: 294.4 kB / 456.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.3502, allocations: 155.8 kB / 456.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.3504, allocations: 374.5 kB / 457.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.351, allocations: 269.7 kB / 457.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007865/0.3518, allocations: 493 kB / 458 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.3531, allocations: 0.7515 MB / 458.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3531, allocations: 1.25 kB / 458.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002273/0.3554, allocations: 1.024 MB / 459.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3554, allocations: 7.75 kB / 459.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3554, allocations: 6.031 kB / 459.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009317/0.3564, allocations: 262.3 kB / 460 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.357, allocations: 143 kB / 460.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.3632, allocations: 4.876 MB / 465 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/0.364, allocations: 103.3 kB / 465.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.364, allocations: 33.78 kB / 465.2 MB, free: 4.766 MB / 366.1 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0005187/0.3645, allocations: 249.5 kB / 465.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.3647, allocations: 74.17 kB / 465.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.3669, allocations: 0.9526 MB / 466.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3669, allocations: 9.344 kB / 466.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.367, allocations: 1.25 kB / 466.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.367, allocations: 3.984 kB / 466.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.3705, allocations: 1.901 MB / 468.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3705, allocations: 1.531 kB / 468.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.371, allocations: 104.1 kB / 468.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008552/0.3718, allocations: 257.2 kB / 468.7 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.3719, allocations: 21.92 kB / 468.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005957/0.3779, allocations: 4.824 MB / 473.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3779, allocations: 1.062 kB / 473.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.3807, allocations: 1.365 MB / 474.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.3811, allocations: 214.7 kB / 475.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.3812, allocations: 21.7 kB / 475.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.3818, allocations: 40.75 kB / 475.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.382, allocations: 70.88 kB / 475.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.382, allocations: 29.89 kB / 475.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.3825, allocations: 325.9 kB / 475.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3825, allocations: 0 / 475.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001216/0.3837, allocations: 313.7 kB / 475.9 MB, free: 12.93 MB / 382.1 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.003355/0.387, allocations: 1.961 MB / 477.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.3893, allocations: 1.052 MB / 478.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3893, allocations: 0 / 478.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.3906, allocations: 0.713 MB / 479.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.3914, allocations: 125.2 kB / 479.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.4038, allocations: 6.535 MB / 486.3 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.4048, allocations: 0.9981 MB / 487.3 MB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.4052, allocations: 81.62 kB / 487.4 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.4057, allocations: 335.3 kB / 487.7 MB, free: 1.699 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4057, allocations: 4 kB / 487.7 MB, free: 1.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/0.4694, allocations: 19.69 MB / 0.4955 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/15.73, allocations: 15.91 kB / 0.4955 GB, free: 14.26 MB / 414.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 18.896505144890398]