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.0014/0.0014, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001453/0.001453, allocations: 209.4 kB / 23.74 MB, free: 4.691 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001695/0.001695, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2852, allocations: 53.35 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.009469/0.2947, allocations: 6.355 MB / 437.5 MB, free: 500 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004965/0.2996, allocations: 2.251 MB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009015/0.3005, allocations: 19.94 kB / 439.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.3029, allocations: 0.7647 MB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.305, allocations: 0.6172 MB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.3066, allocations: 0.5221 MB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.3086, allocations: 1.195 MB / 442.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.3102, allocations: 0.7729 MB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.3112, allocations: 478.2 kB / 444.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000977/0.3122, allocations: 0.5406 MB / 444.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3124, allocations: 112 kB / 444.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.313, allocations: 287.8 kB / 445 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.3133, allocations: 255.1 kB / 445.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.3139, allocations: 0.5442 MB / 445.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.3159, allocations: 1.494 MB / 447.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3159, allocations: 4 kB / 447.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3159, allocations: 0 / 447.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.3159, allocations: 4 kB / 447.3 MB, free: 6.594 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.003587/0.3195, allocations: 1.662 MB / 449 MB, free: 4.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3196, allocations: 8.031 kB / 449 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002529/0.3198, allocations: 162.3 kB / 449.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.3223, allocations: 399.8 kB / 449.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.3233, allocations: 0.5172 MB / 450.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.3234, allocations: 78.38 kB / 450.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.3235, allocations: 100.4 kB / 450.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.3255, allocations: 1.027 MB / 451.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.3255, allocations: 4 kB / 451.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/0.3256, allocations: 43.98 kB / 451.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.3257, allocations: 24 kB / 451.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.3274, allocations: 0.8589 MB / 452.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005618/0.333, allocations: 3.369 MB / 455.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3349, allocations: 0.8623 MB / 456.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009045/0.3358, allocations: 399.5 kB / 456.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.336, allocations: 32.56 kB / 456.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009841/0.3369, allocations: 496.9 kB / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.855e-06/0.3369, allocations: 0 / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004555/0.3415, allocations: 1.481 MB / 458.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.3417, allocations: 196.9 kB / 459 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.3424, allocations: 482 kB / 459.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.3425, allocations: 41.7 kB / 459.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.3429, allocations: 440.6 kB / 460 MB, free: 9.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.3432, allocations: 285.5 kB / 460.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.3435, allocations: 158.6 kB / 460.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3437, allocations: 374.8 kB / 460.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.3442, allocations: 269.9 kB / 461 MB, free: 8.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.345, allocations: 487.2 kB / 461.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.3463, allocations: 0.7395 MB / 462.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.3464, allocations: 4 kB / 462.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002114/0.3485, allocations: 1.018 MB / 463.3 MB, free: 6.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.3485, allocations: 11.94 kB / 463.3 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3485, allocations: 7.938 kB / 463.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009153/0.3494, allocations: 261.5 kB / 463.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.35, allocations: 143.7 kB / 463.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/0.3564, allocations: 4.66 MB / 468.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.3571, allocations: 103.4 kB / 468.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.3571, allocations: 35.98 kB / 468.5 MB, free: 0.6836 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.0005198/0.3577, allocations: 245.7 kB / 468.7 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3578, allocations: 71.56 kB / 468.8 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.3599, allocations: 0.9633 MB / 469.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.3599, allocations: 12 kB / 469.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3599, allocations: 0 / 469.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3599, allocations: 3.984 kB / 469.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.3634, allocations: 1.877 MB / 471.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3634, allocations: 0 / 471.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.3638, allocations: 95.88 kB / 471.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007884/0.3646, allocations: 253.5 kB / 472 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.3647, allocations: 27.92 kB / 472 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.3706, allocations: 4.605 MB / 476.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3706, allocations: 32 / 476.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3734, allocations: 1.37 MB / 478 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.3737, allocations: 143.3 kB / 478.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.973e-05/0.3738, allocations: 20 kB / 478.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.3742, allocations: 39.97 kB / 478.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.3744, allocations: 72.8 kB / 478.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.3745, allocations: 31.98 kB / 478.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004303/0.3749, allocations: 330.8 kB / 478.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3749, allocations: 0 / 478.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00114/0.376, allocations: 315.3 kB / 478.9 MB, free: 5.898 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.003207/0.3792, allocations: 1.976 MB / 480.9 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.3815, allocations: 1.056 MB / 481.9 MB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.3815, allocations: 4 kB / 481.9 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.3829, allocations: 0.709 MB / 482.7 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.3836, allocations: 130.5 kB / 482.8 MB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.3962, allocations: 6.526 MB / 489.3 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/0.397, allocations: 0.9982 MB / 490.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.3974, allocations: 85.47 kB / 490.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.3979, allocations: 335.2 kB / 490.7 MB, free: 9.711 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3979, allocations: 0 / 490.7 MB, free: 9.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07474/0.4726, allocations: 20.41 MB / 0.4991 GB, free: 5.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/16.61, allocations: 3.266 kB / 0.4991 GB, free: 5.574 MB / 414.1 MB " [Timeout remaining time 643] (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: 19.86018575192429]