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.001782/0.001782, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002133/0.002133, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.536/1.536, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.002034/0.002034, allocations: 79.81 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2765, allocations: 53.3 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.01184/0.2883, allocations: 6.346 MB / 438.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.2944, allocations: 2.254 MB / 440.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2955, allocations: 19.94 kB / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.2982, allocations: 0.7539 MB / 441.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.3005, allocations: 0.6094 MB / 442 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.3021, allocations: 0.5377 MB / 442.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.3042, allocations: 1.187 MB / 443.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.3056, allocations: 0.6754 MB / 444.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.3064, allocations: 466.3 kB / 444.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009515/0.3073, allocations: 0.5484 MB / 445.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.3076, allocations: 112 kB / 445.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007981/0.3083, allocations: 279.8 kB / 445.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.3087, allocations: 255.1 kB / 446.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007305/0.3094, allocations: 0.5481 MB / 446.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.3119, allocations: 1.486 MB / 448.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3119, allocations: 0 / 448.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3119, allocations: 0 / 448.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.312, allocations: 0 / 448.1 MB, free: 7.238 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.004924/0.3169, allocations: 1.741 MB / 449.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3169, allocations: 16.02 kB / 449.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.321, allocations: 391.9 kB / 450.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.3225, allocations: 0.5854 MB / 450.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.3226, allocations: 78.38 kB / 450.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.3229, allocations: 104.4 kB / 451 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.3256, allocations: 1.016 MB / 452 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.3256, allocations: 7.953 kB / 452 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.3258, allocations: 43.94 kB / 452.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.3258, allocations: 28 kB / 452.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.3284, allocations: 0.8587 MB / 453 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008017/0.3365, allocations: 3.607 MB / 456.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.3393, allocations: 1.83 MB / 458.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008988/0.3402, allocations: 402.4 kB / 458.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.3404, allocations: 186.8 kB / 459 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009188/0.3414, allocations: 0.4891 MB / 459.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/0.3414, allocations: 0 / 459.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.00483/0.3462, allocations: 1.632 MB / 461.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.3463, allocations: 200.9 kB / 461.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.347, allocations: 474 kB / 461.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.3471, allocations: 45.7 kB / 461.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.3474, allocations: 436.7 kB / 462.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.3477, allocations: 285.5 kB / 462.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.3479, allocations: 162.5 kB / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.3482, allocations: 378.7 kB / 463 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.3488, allocations: 261.9 kB / 463.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008006/0.3496, allocations: 491.2 kB / 463.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.3509, allocations: 0.7356 MB / 464.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3509, allocations: 4 kB / 464.5 MB, free: 5.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002328/0.3533, allocations: 1.022 MB / 465.5 MB, free: 4.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.3533, allocations: 8 kB / 465.5 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3533, allocations: 7.984 kB / 465.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009475/0.3542, allocations: 261.5 kB / 465.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.3548, allocations: 143.7 kB / 465.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/0.3611, allocations: 4.856 MB / 470.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.3619, allocations: 103.4 kB / 470.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.3619, allocations: 36.06 kB / 470.9 MB, free: 15.2 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.0004691/0.3624, allocations: 254.1 kB / 471.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3625, allocations: 75.53 kB / 471.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.3646, allocations: 0.9555 MB / 472.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.3646, allocations: 11.94 kB / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3646, allocations: 0 / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3646, allocations: 3.984 kB / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.3682, allocations: 1.906 MB / 474.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3682, allocations: 3.984 kB / 474.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.3687, allocations: 95.92 kB / 474.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008187/0.3695, allocations: 260.7 kB / 474.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.3695, allocations: 12 kB / 474.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/0.3756, allocations: 4.829 MB / 479.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3756, allocations: 0 / 479.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.3783, allocations: 1.377 MB / 480.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.3788, allocations: 224.3 kB / 480.9 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.3789, allocations: 19.98 kB / 480.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.3793, allocations: 43.97 kB / 481 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.3795, allocations: 64.91 kB / 481 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.3795, allocations: 31.98 kB / 481.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004222/0.38, allocations: 322.9 kB / 481.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.38, allocations: 0 / 481.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001138/0.3811, allocations: 315.3 kB / 481.7 MB, free: 4.008 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.0003237/0.3814, allocations: 171 kB / 481.9 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.3835, allocations: 1.049 MB / 482.9 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3835, allocations: 0 / 482.9 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.3848, allocations: 0.7082 MB / 483.6 MB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.3855, allocations: 122.1 kB / 483.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.3889, allocations: 1.692 MB / 485.4 MB, free: 184 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.3897, allocations: 0.9943 MB / 486.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003902/0.3901, allocations: 89.47 kB / 486.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3902, allocations: 51.42 kB / 486.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3902, allocations: 0 / 486.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of Templates: time 0.02508/0.4153, allocations: 13.24 MB / 499.8 MB, free: 1.922 MB / 398.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 -s cvode -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: 5.3049909910187125]