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.001119/0.001119, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001445/0.001445, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9692/0.9692, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] 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 1.943e-06/1.943e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.841e-05, allocations: 6.25 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007274/0.007303, allocations: 6.159 MB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.01161, allocations: 2.188 MB / 281.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/0.01241, allocations: 23.88 kB / 281.3 MB, free: 9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.01424, allocations: 0.7848 MB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.016, allocations: 0.613 MB / 282.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.01721, allocations: 0.5259 MB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.01886, allocations: 1.241 MB / 284.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.02023, allocations: 0.7532 MB / 285.2 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008878/0.02111, allocations: 0.7093 MB / 285.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.02158, allocations: 426.8 kB / 286.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.0217, allocations: 108 kB / 286.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.02217, allocations: 275.6 kB / 286.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.02231, allocations: 255 kB / 287 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.02259, allocations: 387 kB / 287.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.02363, allocations: 0.9924 MB / 288.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.02363, allocations: 0 / 288.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.02363, allocations: 0 / 288.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.02365, allocations: 0 / 288.3 MB, free: 1.914 MB / 266.7 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.002122/0.02577, allocations: 1.801 MB / 290.1 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.02581, allocations: 11.98 kB / 290.1 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1177/0.1435, allocations: 0.5024 MB / 290.6 MB, free: 19.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.1441, allocations: 0.5037 MB / 291.1 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.1442, allocations: 74.09 kB / 291.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.1443, allocations: 106.5 kB / 291.3 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1453, allocations: 0.8934 MB / 292.2 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.1453, allocations: 5.344 kB / 292.2 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.1454, allocations: 45.22 kB / 292.3 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.1454, allocations: 28.69 kB / 292.3 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.1461, allocations: 460.3 kB / 292.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.1491, allocations: 3.148 MB / 295.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1501, allocations: 0.7761 MB / 296.7 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.1506, allocations: 287.7 kB / 296.9 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/0.1506, allocations: 29.69 kB / 297 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.1511, allocations: 0.4917 MB / 297.5 MB, free: 17.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.284e-06/0.1511, allocations: 0 / 297.5 MB, free: 17.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002285/0.1534, allocations: 1.164 MB / 298.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1534, allocations: 192.9 kB / 298.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.1538, allocations: 482.8 kB / 299.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.1538, allocations: 40.33 kB / 299.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.154, allocations: 484.1 kB / 299.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1541, allocations: 283.9 kB / 300.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1543, allocations: 166.2 kB / 300.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.1544, allocations: 0.5436 MB / 300.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.1546, allocations: 132.1 kB / 300.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.155, allocations: 0.5224 MB / 301.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.1555, allocations: 0.5706 MB / 302 MB, free: 14.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1555, allocations: 1.594 kB / 302 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001022/0.1566, allocations: 0.7883 MB / 302.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1566, allocations: 12.19 kB / 302.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1566, allocations: 5.5 kB / 302.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.1572, allocations: 246.3 kB / 303.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1575, allocations: 144.7 kB / 303.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.1601, allocations: 5.139 MB / 308.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.1604, allocations: 82.8 kB / 308.4 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.1604, allocations: 34.94 kB / 308.5 MB, free: 9.852 MB / 266.7 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.0001608/0.1606, allocations: 222.6 kB / 308.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.1606, allocations: 104 kB / 308.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.1615, allocations: 0.7007 MB / 309.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1615, allocations: 9.578 kB / 309.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1615, allocations: 0 / 309.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1615, allocations: 6.094 kB / 309.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.1635, allocations: 1.443 MB / 310.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1635, allocations: 0 / 310.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.1637, allocations: 93.08 kB / 311 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000491/0.1642, allocations: 239.9 kB / 311.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.1642, allocations: 22.47 kB / 311.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.1666, allocations: 5.099 MB / 316.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1666, allocations: 3.156 kB / 316.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1678, allocations: 0.9864 MB / 317.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.1679, allocations: 135.3 kB / 317.5 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.168, allocations: 16 kB / 317.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1682, allocations: 40.02 kB / 317.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1683, allocations: 80.84 kB / 317.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.1683, allocations: 20 kB / 317.7 MB, free: 3.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1685, allocations: 310.8 kB / 318 MB, free: 2.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1685, allocations: 0 / 318 MB, free: 2.836 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006993/0.1692, allocations: 319.3 kB / 318.3 MB, free: 2.523 MB / 266.7 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.0001724/0.1694, allocations: 163.2 kB / 318.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008903/0.1703, allocations: 0.969 MB / 319.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1703, allocations: 4.125 kB / 319.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.1707, allocations: 0.7327 MB / 320.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1711, allocations: 121.7 kB / 320.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1732, allocations: 1.57 MB / 321.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.1733, allocations: 187.8 kB / 322 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.1735, allocations: 81.2 kB / 322.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.637e-05/0.1736, allocations: 52.48 kB / 322.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1736, allocations: 0 / 322.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of Templates: time 0.01503/0.1886, allocations: 12.51 MB / 334.6 MB, free: 2.305 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1718732588924468]