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.001385/0.001385, allocations: 107.5 kB / 20.44 MB, free: 1.055 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.001426/0.001426, allocations: 185.2 kB / 23.7 MB, free: 4.184 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.542/1.542, allocations: 225.7 MB / 252.5 MB, free: 12.83 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: 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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 43.94 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00745/0.2636, allocations: 5.555 MB / 428.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.2676, allocations: 2.017 MB / 430.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.268, allocations: 23.88 kB / 430.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.2699, allocations: 0.7133 MB / 431.4 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.2715, allocations: 0.7261 MB / 432.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.2726, allocations: 498.1 kB / 432.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2738, allocations: 1.164 MB / 433.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.2749, allocations: 0.7479 MB / 434.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.2755, allocations: 478.3 kB / 435 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.2763, allocations: 477.7 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.2764, allocations: 108 kB / 435.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.2769, allocations: 263.8 kB / 435.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.2772, allocations: 251.1 kB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004729/0.2777, allocations: 453.8 kB / 436.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.2793, allocations: 1.459 MB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2793, allocations: 0 / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2793, allocations: 0 / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.2793, allocations: 0 / 437.9 MB, free: 15.53 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.003222/0.2825, allocations: 1.647 MB / 439.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2826, allocations: 8.031 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.2847, allocations: 375.9 kB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.2856, allocations: 0.4939 MB / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.2857, allocations: 86.36 kB / 440.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2858, allocations: 104.3 kB / 440.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.2876, allocations: 1.112 MB / 441.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.2876, allocations: 4 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.2877, allocations: 44 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.2878, allocations: 24 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.2894, allocations: 0.8471 MB / 442.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/0.2944, allocations: 2.948 MB / 445.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.2964, allocations: 0.8426 MB / 446.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000893/0.2973, allocations: 395.5 kB / 446.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.284e-05/0.2974, allocations: 20.62 kB / 446.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009616/0.2983, allocations: 0.5895 MB / 447.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.2983, allocations: 0 / 447.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004494/0.3028, allocations: 1.485 MB / 449 MB, free: 4.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.303, allocations: 196.9 kB / 449.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.3035, allocations: 429.8 kB / 449.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.3036, allocations: 41.7 kB / 449.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.304, allocations: 424.7 kB / 450 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.3042, allocations: 289.5 kB / 450.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.3045, allocations: 158.5 kB / 450.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3047, allocations: 370.7 kB / 450.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/0.3052, allocations: 269.9 kB / 451.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.306, allocations: 0.5762 MB / 451.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.3074, allocations: 0.7356 MB / 452.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3074, allocations: 4 kB / 452.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002075/0.3094, allocations: 1.01 MB / 453.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3095, allocations: 8 kB / 453.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3095, allocations: 8 kB / 453.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/0.3104, allocations: 261.5 kB / 453.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.3109, allocations: 147.7 kB / 453.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.3168, allocations: 4.547 MB / 458.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.3174, allocations: 107.4 kB / 458.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.3175, allocations: 32.19 kB / 458.5 MB, free: 10.17 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.000438/0.3179, allocations: 244.9 kB / 458.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.318, allocations: 75.52 kB / 458.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.3201, allocations: 0.9589 MB / 459.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3201, allocations: 8 kB / 459.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3201, allocations: 0 / 459.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3202, allocations: 3.984 kB / 459.8 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.3233, allocations: 1.648 MB / 461.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3233, allocations: 0 / 461.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.3237, allocations: 95.89 kB / 461.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007865/0.3245, allocations: 265.4 kB / 461.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.3245, allocations: 19.98 kB / 461.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005575/0.3301, allocations: 4.506 MB / 466.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3301, allocations: 0 / 466.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.3328, allocations: 1.37 MB / 467.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.3331, allocations: 135.3 kB / 467.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3332, allocations: 16 kB / 467.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.3337, allocations: 43.97 kB / 467.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.3339, allocations: 72.86 kB / 467.9 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.3339, allocations: 27.92 kB / 468 MB, free: 404 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.3343, allocations: 295.1 kB / 468.3 MB, free: 108 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 192 / 468.3 MB, free: 108 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001174/0.3355, allocations: 307.4 kB / 468.6 MB, free: 15.8 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.000324/0.3358, allocations: 164.1 kB / 468.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.338, allocations: 1.045 MB / 469.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.338, allocations: 0 / 469.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.3393, allocations: 0.7122 MB / 470.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.3399, allocations: 109.5 kB / 470.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.3432, allocations: 1.665 MB / 472.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.3437, allocations: 403.8 kB / 472.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.344, allocations: 81.12 kB / 472.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3442, allocations: 51.42 kB / 472.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3442, allocations: 0 / 472.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Templates: time 0.02362/0.3678, allocations: 12.45 MB / 485.2 MB, free: 15.21 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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: 5.315512364730239]