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.001552/0.001552, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001777/0.001777, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 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 1.437/1.437, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001572/0.001572, allocations: 55.91 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2837, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008542/0.2923, allocations: 6.294 MB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.2967, allocations: 2.148 MB / 431.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.2973, allocations: 19.94 kB / 431.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.2994, allocations: 0.7577 MB / 431.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.3014, allocations: 0.765 MB / 432.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3024, allocations: 0.4948 MB / 433.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.3039, allocations: 1.176 MB / 434.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.305, allocations: 0.7728 MB / 435.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005997/0.3056, allocations: 466.4 kB / 435.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.3063, allocations: 0.5367 MB / 436.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3065, allocations: 108 kB / 436.2 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.3071, allocations: 267.8 kB / 436.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.3073, allocations: 255.1 kB / 436.7 MB, free: 500 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005269/0.3078, allocations: 0.5443 MB / 437.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.3095, allocations: 1.447 MB / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3096, allocations: 0 / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3096, allocations: 0 / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.3096, allocations: 4 kB / 438.7 MB, free: 14.48 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.003401/0.313, allocations: 1.65 MB / 440.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.313, allocations: 8.031 kB / 440.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/0.3133, allocations: 162.4 kB / 440.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.3154, allocations: 372 kB / 440.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.3163, allocations: 0.5016 MB / 441.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.3164, allocations: 78.38 kB / 441.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.3166, allocations: 104.3 kB / 441.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.3184, allocations: 1.023 MB / 442.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.3184, allocations: 4 kB / 442.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.3185, allocations: 40 kB / 442.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.3185, allocations: 24 kB / 442.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.3202, allocations: 0.8589 MB / 443.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.3256, allocations: 3.341 MB / 446.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.3275, allocations: 0.8538 MB / 447.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.3283, allocations: 399.5 kB / 448.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/0.3284, allocations: 20.62 kB / 448.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009515/0.3293, allocations: 496.8 kB / 448.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.925e-06/0.3293, allocations: 3.938 kB / 448.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004333/0.3337, allocations: 1.477 MB / 450 MB, free: 2.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.3338, allocations: 196.9 kB / 450.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/0.3344, allocations: 465.8 kB / 450.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.3345, allocations: 41.7 kB / 450.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.3348, allocations: 424.7 kB / 451.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.335, allocations: 289.5 kB / 451.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.3353, allocations: 158.6 kB / 451.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3355, allocations: 374.8 kB / 452 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.336, allocations: 265.9 kB / 452.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.3367, allocations: 491.2 kB / 452.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.338, allocations: 0.7356 MB / 453.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.338, allocations: 0 / 453.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001946/0.3399, allocations: 1.014 MB / 454.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3399, allocations: 11.98 kB / 454.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.34, allocations: 4 kB / 454.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/0.3408, allocations: 271.1 kB / 454.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.3414, allocations: 151.7 kB / 454.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.3474, allocations: 4.647 MB / 459.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.3482, allocations: 103.4 kB / 459.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.3483, allocations: 35.98 kB / 459.7 MB, free: 8.727 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.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.0004414/0.3487, allocations: 249.5 kB / 459.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3488, allocations: 71.58 kB / 460 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.3508, allocations: 0.9552 MB / 460.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3508, allocations: 12 kB / 460.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3508, allocations: 0 / 460.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3508, allocations: 3.984 kB / 460.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.3541, allocations: 1.869 MB / 462.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3541, allocations: 64 / 462.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.3546, allocations: 99.83 kB / 462.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008001/0.3554, allocations: 265.7 kB / 463.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-05/0.3554, allocations: 23.92 kB / 463.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005581/0.361, allocations: 4.608 MB / 467.8 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.361, allocations: 4.031 kB / 467.8 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.3636, allocations: 1.366 MB / 469.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.3639, allocations: 135.4 kB / 469.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.364, allocations: 19.98 kB / 469.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.3644, allocations: 43.97 kB / 469.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.3646, allocations: 76.77 kB / 469.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.3646, allocations: 24 kB / 469.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003867/0.365, allocations: 314.9 kB / 469.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.365, allocations: 0 / 469.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00107/0.3661, allocations: 307.4 kB / 470.1 MB, free: 13.96 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,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.003006/0.3691, allocations: 1.977 MB / 472 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.3711, allocations: 1.054 MB / 473.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3711, allocations: 0 / 473.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3723, allocations: 0.7082 MB / 473.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.373, allocations: 118.3 kB / 473.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.3832, allocations: 6.441 MB / 480.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.3839, allocations: 0.9904 MB / 481.3 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.3842, allocations: 85.31 kB / 481.4 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.3846, allocations: 323.3 kB / 481.7 MB, free: 1.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3846, allocations: 0 / 481.7 MB, free: 1.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09115/0.4758, allocations: 19.99 MB / 0.49 GB, free: 14.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.02, allocations: 0 / 0.49 GB, free: 14.19 MB / 414.1 MB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 19.08567869802937]