Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 116.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 216.3 kB / 21.42 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 374.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.099, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.2253/0.3243, allocations: 6.308 MB / 433.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.3282, allocations: 2.248 MB / 436 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005477/0.3288, allocations: 25.84 kB / 436.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.3306, allocations: 0.7516 MB / 436.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.332, allocations: 0.6145 MB / 437.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3331, allocations: 0.524 MB / 438 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3343, allocations: 1.19 MB / 439.2 MB, free: 6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.3353, allocations: 0.6693 MB / 439.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006519/0.3359, allocations: 487.4 kB / 440.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.3366, allocations: 0.5451 MB / 440.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.3368, allocations: 111.4 kB / 441 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.3375, allocations: 285.8 kB / 441.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.3377, allocations: 252.6 kB / 441.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.3382, allocations: 0.5469 MB / 442 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.34, allocations: 1.485 MB / 443.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.34, allocations: 5.094 kB / 443.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.34, allocations: 0 / 443.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.34, allocations: 4.438 kB / 443.5 MB, free: 3.836 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.003194/0.3432, allocations: 1.48 MB / 445 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3433, allocations: 9.781 kB / 445 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.3459, allocations: 396 kB / 445.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.3468, allocations: 0.5869 MB / 446 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.3469, allocations: 74.88 kB / 446.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.347, allocations: 104.1 kB / 446.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.3488, allocations: 1.018 MB / 447.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.3488, allocations: 9.078 kB / 447.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.3489, allocations: 41.03 kB / 447.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.349, allocations: 24.44 kB / 447.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.3506, allocations: 0.8556 MB / 448.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.356, allocations: 3.618 MB / 451.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.3585, allocations: 1.818 MB / 453.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009632/0.3594, allocations: 416.5 kB / 453.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.3596, allocations: 186.4 kB / 454.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009262/0.3605, allocations: 499 kB / 454.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.474e-06/0.3605, allocations: 1.375 kB / 454.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004736/0.3653, allocations: 1.669 MB / 456.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.3654, allocations: 197 kB / 456.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.3661, allocations: 471.6 kB / 456.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/0.3662, allocations: 47.67 kB / 457 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.3666, allocations: 436.5 kB / 457.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.3668, allocations: 290.6 kB / 457.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.3671, allocations: 155.1 kB / 457.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3673, allocations: 375.5 kB / 458.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.3679, allocations: 269.9 kB / 458.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.3687, allocations: 491.5 kB / 459 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.37, allocations: 0.7455 MB / 459.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.37, allocations: 4.812 kB / 459.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002249/0.3723, allocations: 1.018 MB / 460.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3723, allocations: 11.66 kB / 460.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3723, allocations: 5.125 kB / 460.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009698/0.3733, allocations: 260.2 kB / 461 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.3739, allocations: 152.7 kB / 461.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006003/0.3799, allocations: 4.859 MB / 466 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008161/0.3807, allocations: 102.2 kB / 466.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.3807, allocations: 34.72 kB / 466.1 MB, free: 4.773 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.0005158/0.3813, allocations: 248.8 kB / 466.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3814, allocations: 71.36 kB / 466.5 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.3836, allocations: 0.9588 MB / 467.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3836, allocations: 13.97 kB / 467.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3836, allocations: 0 / 467.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3836, allocations: 5.484 kB / 467.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.3871, allocations: 1.898 MB / 469.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3871, allocations: 1.406 kB / 469.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.3875, allocations: 101 kB / 469.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/0.3884, allocations: 257.4 kB / 469.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.3884, allocations: 21.11 kB / 469.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.394, allocations: 4.821 MB / 474.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.394, allocations: 5 kB / 474.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.3967, allocations: 1.368 MB / 475.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.3971, allocations: 219.5 kB / 476.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3972, allocations: 21.36 kB / 476.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.3977, allocations: 40.81 kB / 476.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.3979, allocations: 66.84 kB / 476.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.3979, allocations: 30.39 kB / 476.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004031/0.3983, allocations: 326.8 kB / 476.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3983, allocations: 4 kB / 476.6 MB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001206/0.3995, allocations: 317.9 kB / 476.9 MB, free: 12.92 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.0002985/0.3998, allocations: 143.8 kB / 477 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.402, allocations: 1.05 MB / 478.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4021, allocations: 3.938 kB / 478.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4033, allocations: 0.7222 MB / 478.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.404, allocations: 127.5 kB / 478.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.4072, allocations: 1.69 MB / 480.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.4079, allocations: 0.9982 MB / 481.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.4081, allocations: 59.42 kB / 481.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4081, allocations: 0 / 481.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of Templates: time 0.02361/0.4317, allocations: 17.87 MB / 499.5 MB, free: 6.949 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.003675619023852]