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.00179/0.00179, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002221/0.002221, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.464/1.464, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.00195/0.00195, allocations: 56.92 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2444, allocations: 53.38 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008002/0.2524, allocations: 6.355 MB / 438.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.2569, allocations: 2.246 MB / 441 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007209/0.2576, allocations: 23.88 kB / 441 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.2596, allocations: 0.7657 MB / 441.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.2613, allocations: 0.6089 MB / 442.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2624, allocations: 0.5299 MB / 442.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2638, allocations: 1.191 MB / 444.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009963/0.2648, allocations: 0.6755 MB / 444.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000586/0.2654, allocations: 482.3 kB / 445.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.266, allocations: 0.5445 MB / 445.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.2662, allocations: 111.9 kB / 445.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.2667, allocations: 291.8 kB / 446.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.267, allocations: 251.1 kB / 446.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.2675, allocations: 0.5442 MB / 447 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.2691, allocations: 1.49 MB / 448.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2691, allocations: 0 / 448.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2691, allocations: 0 / 448.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.2691, allocations: 0 / 448.5 MB, free: 6.812 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.003174/0.2723, allocations: 1.666 MB / 450.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2724, allocations: 12.03 kB / 450.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.2747, allocations: 399.9 kB / 450.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.2756, allocations: 0.5133 MB / 451.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.2757, allocations: 78.38 kB / 451.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.2758, allocations: 104.4 kB / 451.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.2776, allocations: 1.02 MB / 452.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.2777, allocations: 3.953 kB / 452.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.2778, allocations: 40 kB / 452.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.2778, allocations: 31.94 kB / 452.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.2795, allocations: 0.8549 MB / 453.2 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005178/0.2846, allocations: 3.349 MB / 456.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.2865, allocations: 0.8631 MB / 457.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008559/0.2874, allocations: 403.5 kB / 457.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.2875, allocations: 24.62 kB / 457.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009186/0.2884, allocations: 0.4891 MB / 458.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.2884, allocations: 0 / 458.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004432/0.2929, allocations: 1.477 MB / 459.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.293, allocations: 201 kB / 460 MB, free: 10.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.2936, allocations: 478 kB / 460.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.2937, allocations: 45.7 kB / 460.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.294, allocations: 428.7 kB / 460.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.2943, allocations: 289.5 kB / 461.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.2945, allocations: 158.6 kB / 461.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.2947, allocations: 382.6 kB / 461.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.2953, allocations: 265.9 kB / 462 MB, free: 8.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.2961, allocations: 495.2 kB / 462.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.2974, allocations: 0.7357 MB / 463.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.2974, allocations: 4 kB / 463.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00206/0.2995, allocations: 1.018 MB / 464.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2995, allocations: 8 kB / 464.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2995, allocations: 4 kB / 464.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.3004, allocations: 278.7 kB / 464.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.301, allocations: 139.8 kB / 464.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006048/0.307, allocations: 4.651 MB / 469.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.3077, allocations: 111.4 kB / 469.4 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.3077, allocations: 31.98 kB / 469.5 MB, free: 1.086 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.0004228/0.3081, allocations: 249.5 kB / 469.7 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3082, allocations: 67.58 kB / 469.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.3104, allocations: 0.9593 MB / 470.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3104, allocations: 15.94 kB / 470.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3104, allocations: 0 / 470.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3104, allocations: 3.984 kB / 470.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/0.3136, allocations: 1.877 MB / 472.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3137, allocations: 4 kB / 472.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.3141, allocations: 95.88 kB / 472.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/0.3149, allocations: 265.6 kB / 473 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.3149, allocations: 16 kB / 473 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.3205, allocations: 4.598 MB / 477.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3205, allocations: 0 / 477.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.3231, allocations: 1.377 MB / 479 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.3234, allocations: 147.2 kB / 479.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.3235, allocations: 20 kB / 479.1 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.324, allocations: 43.97 kB / 479.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.3242, allocations: 72.86 kB / 479.2 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.3242, allocations: 23.98 kB / 479.3 MB, free: 6.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003951/0.3246, allocations: 326.9 kB / 479.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 0 / 479.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.3257, allocations: 315.3 kB / 479.9 MB, free: 6.301 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.0002834/0.326, allocations: 163.1 kB / 480.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.328, allocations: 1.06 MB / 481.1 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.328, allocations: 0 / 481.1 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3292, allocations: 0.7053 MB / 481.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.3298, allocations: 126.3 kB / 481.9 MB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.3328, allocations: 1.689 MB / 483.6 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.3334, allocations: 0.9904 MB / 484.6 MB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.3337, allocations: 85.47 kB / 484.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.3339, allocations: 55.36 kB / 484.8 MB, free: 1.305 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3339, allocations: 0 / 484.8 MB, free: 1.305 MB / 382.1 MB Notification: Performance of Templates: time 0.02313/0.357, allocations: 13.45 MB / 498.2 MB, free: 3.996 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/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_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.011515202000737]