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.00138/0.00138, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001541/0.001541, allocations: 206.8 kB / 23.72 MB, free: 4.391 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.785 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: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 51.91 kB / 378.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008238/0.2764, allocations: 5.596 MB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.2815, allocations: 2.112 MB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.2822, allocations: 23.88 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.2842, allocations: 0.7224 MB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.286, allocations: 0.5822 MB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2872, allocations: 0.5144 MB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2887, allocations: 1.187 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.29, allocations: 0.7568 MB / 443.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.2907, allocations: 486.2 kB / 443.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.2913, allocations: 489.6 kB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.2915, allocations: 112 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.2921, allocations: 271.8 kB / 444.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.2924, allocations: 251.1 kB / 444.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.2929, allocations: 453.9 kB / 445.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2946, allocations: 1.502 MB / 446.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2947, allocations: 0 / 446.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2947, allocations: 0 / 446.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.2947, allocations: 0 / 446.6 MB, free: 7.652 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.003439/0.2981, allocations: 1.67 MB / 448.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2981, allocations: 12.03 kB / 448.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.3007, allocations: 403.8 kB / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3018, allocations: 0.5172 MB / 449.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.3019, allocations: 74.38 kB / 449.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.302, allocations: 104.4 kB / 449.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.304, allocations: 1.116 MB / 450.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.3041, allocations: 7.953 kB / 450.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-05/0.3042, allocations: 43.98 kB / 450.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.3042, allocations: 24 kB / 450.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.306, allocations: 0.8549 MB / 451.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/0.3112, allocations: 2.956 MB / 454.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.3132, allocations: 0.8591 MB / 455.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/0.3141, allocations: 403.5 kB / 455.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3142, allocations: 20.64 kB / 455.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009892/0.3152, allocations: 0.5894 MB / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 4.668e-06/0.3152, allocations: 4 kB / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004581/0.3198, allocations: 1.481 MB / 457.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.3199, allocations: 192.9 kB / 457.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.3205, allocations: 461.9 kB / 458.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/0.3206, allocations: 41.7 kB / 458.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.321, allocations: 428.7 kB / 458.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.3212, allocations: 293.5 kB / 459.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.3215, allocations: 154.6 kB / 459.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.3217, allocations: 374.7 kB / 459.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.3223, allocations: 265.9 kB / 459.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.3231, allocations: 0.5879 MB / 460.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.3245, allocations: 0.7356 MB / 461.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.3245, allocations: 4 kB / 461.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002182/0.3267, allocations: 1.014 MB / 462.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3267, allocations: 8 kB / 462.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3267, allocations: 4 kB / 462.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/0.3276, allocations: 255.8 kB / 462.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.3282, allocations: 155.7 kB / 462.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/0.3342, allocations: 4.558 MB / 467.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.3348, allocations: 103.5 kB / 467.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.3349, allocations: 32 kB / 467.3 MB, free: 2.121 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.0004151/0.3353, allocations: 245.6 kB / 467.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3354, allocations: 67.58 kB / 467.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.3375, allocations: 0.9592 MB / 468.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3375, allocations: 8 kB / 468.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3375, allocations: 0 / 468.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3375, allocations: 3.984 kB / 468.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.3407, allocations: 1.652 MB / 470.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3407, allocations: 0 / 470.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.3411, allocations: 95.88 kB / 470.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008192/0.342, allocations: 265.5 kB / 470.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.342, allocations: 12 kB / 470.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.3477, allocations: 4.514 MB / 475.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3477, allocations: 4.031 kB / 475.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.3505, allocations: 1.362 MB / 476.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.3508, allocations: 139.3 kB / 476.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.3509, allocations: 20 kB / 476.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.3514, allocations: 43.97 kB / 476.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.3516, allocations: 72.86 kB / 476.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.3516, allocations: 27.92 kB / 476.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.352, allocations: 310.9 kB / 477.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.352, allocations: 0 / 477.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001072/0.3531, allocations: 311.3 kB / 477.4 MB, free: 7.734 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.0003/0.3534, allocations: 171 kB / 477.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.3555, allocations: 1.048 MB / 478.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3555, allocations: 4 kB / 478.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3568, allocations: 0.7169 MB / 479.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.3574, allocations: 113 kB / 479.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.3605, allocations: 1.668 MB / 481.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.361, allocations: 408.3 kB / 481.5 MB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.3613, allocations: 85.19 kB / 481.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3614, allocations: 51.42 kB / 481.6 MB, free: 3.355 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3614, allocations: 0 / 481.6 MB, free: 3.355 MB / 382.1 MB Notification: Performance of Templates: time 0.02259/0.384, allocations: 12.69 MB / 494.3 MB, free: 6.879 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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: 5.154904069378972]