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.001493/0.001493, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.001673/0.001673, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.442/1.442, allocations: 230.4 MB / 255.4 MB, free: 14.99 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.001891/0.001891, allocations: 67.83 kB / 374.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 53.31 MB / 428.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.199/0.3019, allocations: 6.318 MB / 434.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.3052, allocations: 2.243 MB / 436.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.3057, allocations: 21.59 kB / 436.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.3073, allocations: 0.755 MB / 437.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.3086, allocations: 0.6098 MB / 438 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.3096, allocations: 0.5246 MB / 438.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.3108, allocations: 1.193 MB / 439.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008852/0.3117, allocations: 0.6731 MB / 440.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.3122, allocations: 476.1 kB / 440.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.3128, allocations: 0.542 MB / 441.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.313, allocations: 110.8 kB / 441.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006166/0.3136, allocations: 286.8 kB / 441.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.3138, allocations: 247.8 kB / 442 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.3142, allocations: 0.5506 MB / 442.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.3158, allocations: 1.489 MB / 444.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3158, allocations: 1.156 kB / 444.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3158, allocations: 0.9844 kB / 444.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.3158, allocations: 4 kB / 444.1 MB, free: 3.891 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.002962/0.3188, allocations: 1.471 MB / 445.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3188, allocations: 9.375 kB / 445.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.3213, allocations: 397.5 kB / 445.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/0.3223, allocations: 0.5919 MB / 446.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.3223, allocations: 75.34 kB / 446.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3225, allocations: 99.44 kB / 446.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3243, allocations: 1.023 MB / 447.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.3243, allocations: 11.08 kB / 447.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.3244, allocations: 37.72 kB / 447.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.3244, allocations: 25.5 kB / 447.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.3261, allocations: 0.8586 MB / 448.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005383/0.3314, allocations: 3.612 MB / 452.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.3339, allocations: 1.818 MB / 454.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009499/0.3349, allocations: 420.2 kB / 454.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.3351, allocations: 179.1 kB / 454.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009523/0.336, allocations: 0.4891 MB / 455.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.455e-06/0.336, allocations: 0 / 455.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004666/0.3407, allocations: 1.675 MB / 456.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.3408, allocations: 190.9 kB / 457 MB, free: 12.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000839/0.3417, allocations: 481.7 kB / 457.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.3418, allocations: 43 kB / 457.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.3423, allocations: 433 kB / 458 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.3426, allocations: 290.6 kB / 458.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.3429, allocations: 156.4 kB / 458.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.3431, allocations: 374.4 kB / 458.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.3437, allocations: 272.1 kB / 459 MB, free: 10.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.3445, allocations: 487.5 kB / 459.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3458, allocations: 0.749 MB / 460.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3458, allocations: 1.062 kB / 460.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002185/0.348, allocations: 1.012 MB / 461.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.348, allocations: 11.62 kB / 461.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.348, allocations: 10.16 kB / 461.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009347/0.349, allocations: 267.8 kB / 461.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.3495, allocations: 146.8 kB / 461.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/0.3557, allocations: 4.867 MB / 466.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.3566, allocations: 101.7 kB / 466.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.3566, allocations: 42.98 kB / 466.7 MB, free: 4.82 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0005038/0.3571, allocations: 243 kB / 466.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.3573, allocations: 75.38 kB / 467 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.3594, allocations: 0.9521 MB / 468 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.3595, allocations: 8.75 kB / 468 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.3595, allocations: 0.9062 kB / 468 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.3595, allocations: 5.141 kB / 468 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.3629, allocations: 1.901 MB / 469.9 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3629, allocations: 1.078 kB / 469.9 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.3634, allocations: 97.62 kB / 470 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008253/0.3642, allocations: 263.5 kB / 470.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.3642, allocations: 17.36 kB / 470.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005689/0.3699, allocations: 4.822 MB / 475.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3699, allocations: 5.031 kB / 475.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.3726, allocations: 1.366 MB / 476.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.373, allocations: 218.3 kB / 476.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3731, allocations: 18.34 kB / 476.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.3735, allocations: 40.38 kB / 476.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.3737, allocations: 72.17 kB / 476.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.3737, allocations: 29.22 kB / 476.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004054/0.3741, allocations: 333.8 kB / 477.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 477.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001152/0.3753, allocations: 308.9 kB / 477.4 MB, free: 12.98 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0003132/0.3756, allocations: 153.1 kB / 477.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.3777, allocations: 1.045 MB / 478.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.3777, allocations: 5.5 kB / 478.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.379, allocations: 0.7189 MB / 479.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/0.3797, allocations: 125.4 kB / 479.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.383, allocations: 1.703 MB / 481.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.3837, allocations: 1.002 MB / 482.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.3839, allocations: 55.42 kB / 482.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3839, allocations: 0 / 482.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of Templates: time 0.02381/0.4077, allocations: 17.87 MB / 0.4884 GB, free: 7.016 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 -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.337540048873052]