Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 119.9 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 189.2 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09522, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008757/0.104, allocations: 6.256 MB / 425.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004204/0.1082, allocations: 2.141 MB / 427.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.1087, allocations: 19.94 kB / 427.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.1107, allocations: 0.7531 MB / 428.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.1125, allocations: 0.7689 MB / 428.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1137, allocations: 0.4987 MB / 429.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.1152, allocations: 1.172 MB / 430.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.1164, allocations: 0.6753 MB / 431.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.117, allocations: 454.3 kB / 431.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.1177, allocations: 0.529 MB / 432.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1179, allocations: 116 kB / 432.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006006/0.1185, allocations: 271.8 kB / 432.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.1187, allocations: 247.1 kB / 432.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.1193, allocations: 0.5442 MB / 433.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.1211, allocations: 1.451 MB / 434.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1212, allocations: 0 / 434.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1212, allocations: 0 / 434.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.1212, allocations: 0 / 434.8 MB, free: 12.14 MB / 366.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.003176/0.1243, allocations: 1.458 MB / 436.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1244, allocations: 8.031 kB / 436.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.1267, allocations: 375.9 kB / 436.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/0.1276, allocations: 0.5621 MB / 437.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.1277, allocations: 78.38 kB / 437.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.1279, allocations: 100.4 kB / 437.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.1298, allocations: 1.016 MB / 438.4 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.1299, allocations: 4 kB / 438.4 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.616e-05/0.13, allocations: 40 kB / 438.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.13, allocations: 24 kB / 438.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.1318, allocations: 0.8588 MB / 439.3 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005636/0.1374, allocations: 3.516 MB / 442.9 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.14, allocations: 1.841 MB / 444.7 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/0.1409, allocations: 407.5 kB / 445.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1411, allocations: 101.7 kB / 445.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009339/0.142, allocations: 496.8 kB / 445.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.142, allocations: 0 / 445.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.1882/0.3302, allocations: 1.667 MB / 447.3 MB, free: 29.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3302, allocations: 200.5 kB / 447.5 MB, free: 29.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.3307, allocations: 451.2 kB / 448 MB, free: 29.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.3307, allocations: 43.92 kB / 448 MB, free: 29.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.331, allocations: 427 kB / 448.4 MB, free: 29.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.3311, allocations: 286.5 kB / 448.7 MB, free: 29.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.3313, allocations: 158.2 kB / 448.9 MB, free: 29.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.3314, allocations: 373.1 kB / 449.2 MB, free: 28.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.3319, allocations: 265.7 kB / 449.5 MB, free: 28.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.3325, allocations: 490.6 kB / 450 MB, free: 28.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.3335, allocations: 0.7375 MB / 450.7 MB, free: 28.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3335, allocations: 0 / 450.7 MB, free: 28.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001757/0.3353, allocations: 1.023 MB / 451.7 MB, free: 28.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3353, allocations: 9.281 kB / 451.8 MB, free: 28.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3353, allocations: 5 kB / 451.8 MB, free: 28.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008702/0.3362, allocations: 270 kB / 452 MB, free: 28.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.3367, allocations: 143.1 kB / 452.2 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/0.3414, allocations: 4.868 MB / 457 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.3421, allocations: 101.5 kB / 457.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.3422, allocations: 32.34 kB / 457.2 MB, free: 24.56 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.0003597/0.3426, allocations: 251 kB / 457.4 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3427, allocations: 72.28 kB / 457.5 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.3446, allocations: 0.9512 MB / 458.4 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3446, allocations: 9.031 kB / 458.4 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3446, allocations: 2.531 kB / 458.4 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.3446, allocations: 8.594 kB / 458.4 MB, free: 23.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.3475, allocations: 1.891 MB / 460.3 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3475, allocations: 0 / 460.3 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.3479, allocations: 96.23 kB / 460.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000784/0.3487, allocations: 275.1 kB / 460.7 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.3487, allocations: 18.59 kB / 460.7 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/0.3529, allocations: 4.82 MB / 465.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3529, allocations: 2.531 kB / 465.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.3553, allocations: 1.356 MB / 466.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.3555, allocations: 219.4 kB / 467.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.3556, allocations: 23.22 kB / 467.1 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.3561, allocations: 39.86 kB / 467.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.3562, allocations: 71.53 kB / 467.2 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.3563, allocations: 23.31 kB / 467.3 MB, free: 18.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003419/0.3566, allocations: 313.9 kB / 467.6 MB, free: 17.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3566, allocations: 4 kB / 467.6 MB, free: 17.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001067/0.3577, allocations: 308.6 kB / 467.9 MB, free: 17.79 MB / 366.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.0002364/0.3579, allocations: 162.6 kB / 468 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.3601, allocations: 1.042 MB / 469.1 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3601, allocations: 2.844 kB / 469.1 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.3615, allocations: 0.7177 MB / 469.8 MB, free: 16.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/0.3624, allocations: 128.5 kB / 469.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.3655, allocations: 1.688 MB / 471.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.3659, allocations: 0.9937 MB / 472.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.3661, allocations: 56.22 kB / 472.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3661, allocations: 0 / 472.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01765/0.3838, allocations: 17.34 MB / 490 MB, free: 5.398 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.890569767914712]