Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001433/0.001433, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001287/0.001287, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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 1.031/1.031, allocations: 177 MB / 205.1 MB, free: 5.48 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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.017e-05, allocations: 2.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004382/0.004412, allocations: 3.646 MB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.006068, allocations: 1.075 MB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.006322, allocations: 19.88 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.006543, allocations: 103.1 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005899/0.007133, allocations: 258.3 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.007411, allocations: 163.6 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006847/0.008096, allocations: 0.9959 MB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.008482, allocations: 351.4 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.009047, allocations: 0.6158 MB / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.00953, allocations: 482.9 kB / 281 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.221e-05/0.009622, allocations: 100 kB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.009752, allocations: 104 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.009917, allocations: 303.1 kB / 281.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.01015, allocations: 331.2 kB / 281.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.01072, allocations: 0.7749 MB / 282.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01072, allocations: 0 / 282.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01073, allocations: 3.938 kB / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.01074, allocations: 0 / 282.6 MB, free: 7.867 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001519/0.01225, allocations: 1.516 MB / 284.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.01229, allocations: 15.98 kB / 284.2 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.01256, allocations: 168.3 kB / 284.3 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.01306, allocations: 0.5157 MB / 284.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.01309, allocations: 53.67 kB / 284.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.01316, allocations: 72.33 kB / 285 MB, free: 5.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.01374, allocations: 0.5406 MB / 285.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.01376, allocations: 0 / 285.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.0138, allocations: 28 kB / 285.5 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.01383, allocations: 29.3 kB / 285.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.0141, allocations: 185 kB / 285.7 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.0161, allocations: 2.246 MB / 288 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.01639, allocations: 260.1 kB / 288.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.01656, allocations: 136.2 kB / 288.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.01659, allocations: 8.312 kB / 288.4 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.01685, allocations: 253.8 kB / 288.6 MB, free: 1.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.01685, allocations: 0 / 288.6 MB, free: 1.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009843/0.01783, allocations: 0.5207 MB / 289.2 MB, free: 1.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.01788, allocations: 118.8 kB / 289.3 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.01822, allocations: 0.5062 MB / 289.8 MB, free: 428 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.01825, allocations: 41.69 kB / 289.8 MB, free: 380 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1239/0.1421, allocations: 431.6 kB / 290.2 MB, free: 25.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.1423, allocations: 152 kB / 290.4 MB, free: 25.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1424, allocations: 92 kB / 290.5 MB, free: 25.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1425, allocations: 0.5576 MB / 291 MB, free: 24.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.1426, allocations: 45.34 kB / 291.1 MB, free: 24.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1428, allocations: 268.4 kB / 291.3 MB, free: 24.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.143, allocations: 319.7 kB / 291.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.143, allocations: 2.344 kB / 291.7 MB, free: 24.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005196/0.1435, allocations: 391.4 kB / 292 MB, free: 23.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1436, allocations: 8.328 kB / 292 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1436, allocations: 4.594 kB / 292 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.1438, allocations: 93.14 kB / 292.1 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.144, allocations: 78.64 kB / 292.2 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.1453, allocations: 2.467 MB / 294.7 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1455, allocations: 43.84 kB / 294.7 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1455, allocations: 16.11 kB / 294.7 MB, free: 22.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1457, allocations: 192.3 kB / 294.9 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.1457, allocations: 75.22 kB / 295 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.1458, allocations: 65.28 kB / 295.1 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1458, allocations: 4.406 kB / 295.1 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1458, allocations: 4.656 kB / 295.1 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1458, allocations: 2.812 kB / 295.1 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.1468, allocations: 1.002 MB / 296.1 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1468, allocations: 1.344 kB / 296.1 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1469, allocations: 41.64 kB / 296.1 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.1471, allocations: 95.89 kB / 296.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1471, allocations: 8.344 kB / 296.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.1482, allocations: 2.447 MB / 298.7 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1482, allocations: 0.9375 kB / 298.7 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.1487, allocations: 0.5332 MB / 299.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1488, allocations: 106.3 kB / 299.3 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.1489, allocations: 15.11 kB / 299.3 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.149, allocations: 13.94 kB / 299.3 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.1491, allocations: 40.91 kB / 299.4 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1491, allocations: 12.03 kB / 299.4 MB, free: 19.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.1493, allocations: 324.1 kB / 299.7 MB, free: 19 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1493, allocations: 0 / 299.7 MB, free: 19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004998/0.1498, allocations: 206.1 kB / 299.9 MB, free: 18.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.1499, allocations: 121.9 kB / 300 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.1504, allocations: 475.4 kB / 300.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1504, allocations: 5.75 kB / 300.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.1507, allocations: 375.3 kB / 300.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1512, allocations: 146.4 kB / 301 MB, free: 18.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1528, allocations: 1.264 MB / 302.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.1529, allocations: 245.1 kB / 302.5 MB, free: 17.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.1531, allocations: 63.95 kB / 302.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.1534, allocations: 201.4 kB / 302.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1534, allocations: 0 / 302.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01198/0.1654, allocations: 10.35 MB / 313.1 MB, free: 12.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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: 2.9562178729102015]