Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 113 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 218.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.176 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2672, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008688/0.2759, allocations: 6.336 MB / 438.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.2804, allocations: 2.256 MB / 440.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005938/0.281, allocations: 23.94 kB / 440.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.283, allocations: 0.75 MB / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.2846, allocations: 0.6172 MB / 442 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2858, allocations: 0.5285 MB / 442.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.2872, allocations: 1.195 MB / 443.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.2883, allocations: 0.6676 MB / 444.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.2889, allocations: 478.2 kB / 444.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.2896, allocations: 0.5367 MB / 445.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.2897, allocations: 112 kB / 445.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005884/0.2903, allocations: 283.8 kB / 445.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.2906, allocations: 255.1 kB / 446.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.2911, allocations: 0.5441 MB / 446.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.2929, allocations: 1.494 MB / 448.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2929, allocations: 4 kB / 448.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2929, allocations: 0 / 448.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.293, allocations: 0 / 448.1 MB, free: 7.25 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.003603/0.2966, allocations: 1.745 MB / 449.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2966, allocations: 8.031 kB / 449.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.2991, allocations: 391.9 kB / 450.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3001, allocations: 0.5893 MB / 450.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.3002, allocations: 74.38 kB / 450.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3004, allocations: 96.38 kB / 451 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.3024, allocations: 1.024 MB / 452 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.3024, allocations: 11.94 kB / 452 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.3025, allocations: 40 kB / 452.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/0.3026, allocations: 24 kB / 452.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.3043, allocations: 0.8549 MB / 453 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.3099, allocations: 3.614 MB / 456.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.3124, allocations: 1.83 MB / 458.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008843/0.3133, allocations: 399.5 kB / 458.8 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.3135, allocations: 186.8 kB / 459 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009138/0.3144, allocations: 0.4929 MB / 459.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.265e-06/0.3144, allocations: 0 / 459.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004558/0.319, allocations: 1.632 MB / 461.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.3191, allocations: 196.9 kB / 461.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.3197, allocations: 478 kB / 461.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/0.3198, allocations: 45.69 kB / 461.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.3202, allocations: 428.7 kB / 462.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.3204, allocations: 289.5 kB / 462.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.3207, allocations: 158.6 kB / 462.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3209, allocations: 382.7 kB / 463 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.3215, allocations: 261.9 kB / 463.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007543/0.3222, allocations: 495.2 kB / 463.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3235, allocations: 0.7318 MB / 464.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.3235, allocations: 8 kB / 464.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002121/0.3257, allocations: 1.018 MB / 465.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3257, allocations: 11.12 kB / 465.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3257, allocations: 4 kB / 465.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008927/0.3266, allocations: 261.5 kB / 465.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.3272, allocations: 155.7 kB / 465.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/0.3332, allocations: 4.849 MB / 470.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/0.3338, allocations: 99.38 kB / 470.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.3339, allocations: 35.98 kB / 470.9 MB, free: 15.21 MB / 382.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.0004355/0.3343, allocations: 258.2 kB / 471.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3345, allocations: 75.53 kB / 471.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.3368, allocations: 0.9478 MB / 472.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.3368, allocations: 11.94 kB / 472.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3368, allocations: 3.984 kB / 472.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/0.3368, allocations: 4.047 kB / 472.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.3407, allocations: 1.909 MB / 474.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3407, allocations: 0 / 474.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.3412, allocations: 95.88 kB / 474.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008043/0.342, allocations: 256.8 kB / 474.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.3421, allocations: 19.98 kB / 474.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005814/0.3479, allocations: 4.826 MB / 479.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3479, allocations: 192 / 479.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.3506, allocations: 1.366 MB / 480.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.351, allocations: 224.3 kB / 480.9 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3511, allocations: 20 kB / 480.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.3516, allocations: 43.97 kB / 481 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.3518, allocations: 68.89 kB / 481 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.3518, allocations: 24 kB / 481.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004397/0.3522, allocations: 326.9 kB / 481.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3522, allocations: 4 kB / 481.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001142/0.3534, allocations: 315.3 kB / 481.7 MB, free: 4.031 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.0003145/0.3537, allocations: 175 kB / 481.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.3559, allocations: 1.046 MB / 482.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3559, allocations: 320 / 482.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.3571, allocations: 0.7196 MB / 483.6 MB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.3578, allocations: 130 kB / 483.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.3611, allocations: 1.718 MB / 485.5 MB, free: 152 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.3619, allocations: 0.9981 MB / 486.5 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.3621, allocations: 63.42 kB / 486.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3621, allocations: 0 / 486.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of Templates: time 0.02503/0.3871, allocations: 17.86 MB / 0.4926 GB, free: 13.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.3681467352435]