Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001591/0.001591, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.00188/0.00188, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.88 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1099, allocations: 53.31 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.2129/0.3228, allocations: 6.309 MB / 433.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.3262, allocations: 2.25 MB / 435.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.3266, allocations: 24.88 kB / 435.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.3283, allocations: 0.7579 MB / 436.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.3297, allocations: 0.6093 MB / 437.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.331, allocations: 0.5325 MB / 437.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3324, allocations: 1.198 MB / 438.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.3334, allocations: 0.6753 MB / 439.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006671/0.3341, allocations: 473.4 kB / 440 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.3347, allocations: 0.5414 MB / 440.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.3349, allocations: 111.1 kB / 440.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006207/0.3355, allocations: 289.9 kB / 440.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3357, allocations: 249.7 kB / 441.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.3361, allocations: 0.5469 MB / 441.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.3378, allocations: 1.489 MB / 443.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3378, allocations: 0 / 443.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3378, allocations: 1.062 kB / 443.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.3379, allocations: 5.078 kB / 443.2 MB, free: 4.051 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.003098/0.341, allocations: 1.479 MB / 444.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.341, allocations: 13.44 kB / 444.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.3437, allocations: 390.3 kB / 445.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.3447, allocations: 0.5877 MB / 445.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.3447, allocations: 75.89 kB / 445.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3449, allocations: 101.3 kB / 445.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3468, allocations: 1.025 MB / 446.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.3468, allocations: 4.922 kB / 446.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/0.3469, allocations: 43.69 kB / 446.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.3469, allocations: 23.88 kB / 446.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.3485, allocations: 0.8577 MB / 447.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005246/0.3537, allocations: 3.612 MB / 451.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.3563, allocations: 1.824 MB / 453.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.3574, allocations: 420.2 kB / 453.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.3576, allocations: 179 kB / 453.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009865/0.3586, allocations: 498.8 kB / 454.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.434e-06/0.3586, allocations: 0 / 454.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004748/0.3633, allocations: 1.669 MB / 456 MB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.3634, allocations: 193.4 kB / 456.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.3641, allocations: 480.2 kB / 456.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.3641, allocations: 46.92 kB / 456.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.3645, allocations: 433.3 kB / 457.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.3648, allocations: 290.1 kB / 457.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.365, allocations: 155.5 kB / 457.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3652, allocations: 375.3 kB / 457.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.3658, allocations: 269.4 kB / 458.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.3666, allocations: 491.4 kB / 458.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.368, allocations: 0.746 MB / 459.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.368, allocations: 2.594 kB / 459.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002115/0.3701, allocations: 1.022 MB / 460.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.3701, allocations: 11.97 kB / 460.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3701, allocations: 9.094 kB / 460.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009177/0.371, allocations: 265.4 kB / 460.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.3716, allocations: 147.1 kB / 460.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.3777, allocations: 4.859 MB / 465.7 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.3784, allocations: 101.7 kB / 465.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.3784, allocations: 36.75 kB / 465.8 MB, free: 5.004 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.0004769/0.3789, allocations: 245.6 kB / 466.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.379, allocations: 71.27 kB / 466.1 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.3812, allocations: 0.9517 MB / 467.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3812, allocations: 8.531 kB / 467.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3812, allocations: 1.094 kB / 467.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3813, allocations: 5.016 kB / 467.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.3848, allocations: 1.911 MB / 469 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3848, allocations: 2.719 kB / 469 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.3853, allocations: 93.25 kB / 469.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008768/0.3861, allocations: 267.9 kB / 469.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.3862, allocations: 20.61 kB / 469.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006349/0.3925, allocations: 4.817 MB / 474.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.3926, allocations: 6.281 kB / 474.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.3955, allocations: 1.364 MB / 475.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.396, allocations: 217.3 kB / 475.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.3961, allocations: 21.55 kB / 475.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.3966, allocations: 41.91 kB / 475.8 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.3967, allocations: 71.53 kB / 475.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.3968, allocations: 32.95 kB / 475.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004136/0.3972, allocations: 325.2 kB / 476.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3972, allocations: 0 / 476.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001208/0.3984, allocations: 313.2 kB / 476.6 MB, free: 13.15 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.0003341/0.3988, allocations: 154.4 kB / 476.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.401, allocations: 1.042 MB / 477.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.401, allocations: 4.188 kB / 477.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.4024, allocations: 0.7165 MB / 478.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/0.4032, allocations: 129.6 kB / 478.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.4067, allocations: 1.657 MB / 480.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.4074, allocations: 0.9982 MB / 481.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.4077, allocations: 86.31 kB / 481.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.4079, allocations: 55.42 kB / 481.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4079, allocations: 0 / 481.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02321/0.4311, allocations: 12.89 MB / 494.3 MB, free: 12.23 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.176348467357457]