Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001015, allocations: 95.8 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 201.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002158/0.0002158, allocations: 8 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08725, allocations: 51.48 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004334/0.09162, allocations: 3.758 MB / 361.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.09404, allocations: 1.263 MB / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.0944, allocations: 19.88 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.0947, allocations: 135.2 kB / 363.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007969/0.09551, allocations: 303.1 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.09585, allocations: 135.7 kB / 363.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.09708, allocations: 0.9625 MB / 364.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.09809, allocations: 0.7377 MB / 365.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.09885, allocations: 486.2 kB / 365.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008179/0.09968, allocations: 0.5992 MB / 366.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.09984, allocations: 76 kB / 366.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1001, allocations: 72 kB / 366.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.1004, allocations: 342.9 kB / 366.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.1008, allocations: 289 kB / 367.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.1025, allocations: 1.78 MB / 369 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1025, allocations: 0 / 369 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1025, allocations: 0 / 369 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.546e-05/0.1026, allocations: 0 / 369 MB, free: 2.934 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003277/0.1059, allocations: 1.561 MB / 370.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1059, allocations: 12.03 kB / 370.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/0.1067, allocations: 218.2 kB / 370.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.1085, allocations: 0.926 MB / 371.7 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.1086, allocations: 86.05 kB / 371.8 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1546/0.2632, allocations: 101.1 kB / 371.9 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/0.2664, allocations: 1.547 MB / 373.4 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.2665, allocations: 4.328 kB / 373.4 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.2666, allocations: 43.69 kB / 373.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.999e-05/0.2667, allocations: 43.05 kB / 373.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.2695, allocations: 1.452 MB / 375 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008971/0.2785, allocations: 4.991 MB / 380 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.2802, allocations: 1.463 MB / 381.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.2803, allocations: 7.047 kB / 381.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.2813, allocations: 0.6174 MB / 382.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.935e-06/0.2813, allocations: 0 / 382.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006079/0.2874, allocations: 2.437 MB / 384.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2875, allocations: 90.34 kB / 384.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.2888, allocations: 0.9375 MB / 385.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/0.2889, allocations: 42.27 kB / 385.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.2893, allocations: 0.5334 MB / 386.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.2894, allocations: 231.5 kB / 386.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.2895, allocations: 14.62 kB / 386.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.2896, allocations: 338.2 kB / 386.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.2903, allocations: 421.8 kB / 387.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.2909, allocations: 0.5591 MB / 387.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.2916, allocations: 457.6 kB / 388.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2917, allocations: 2.281 kB / 388.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002181/0.2938, allocations: 1.302 MB / 389.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.2939, allocations: 15.06 kB / 389.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.2939, allocations: 2.938 kB / 389.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008877/0.2948, allocations: 396.4 kB / 389.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.2953, allocations: 116.3 kB / 389.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004978/0.3003, allocations: 4.264 MB / 394.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.3011, allocations: 85.83 kB / 394.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.3012, allocations: 35.16 kB / 394.3 MB, free: 7.137 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008841/0.3021, allocations: 496.6 kB / 394.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.3023, allocations: 91.97 kB / 394.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3026, allocations: 116.7 kB / 395 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3026, allocations: 7.406 kB / 395 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.3026, allocations: 7.984 kB / 395 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3027, allocations: 1.281 kB / 395 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.3067, allocations: 2.59 MB / 397.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.3068, allocations: 3.953 kB / 397.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.3072, allocations: 87.41 kB / 397.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007592/0.3079, allocations: 396.9 kB / 398.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.308, allocations: 11.97 kB / 398.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.3122, allocations: 4.23 MB / 402.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3122, allocations: 1.312 kB / 402.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.3151, allocations: 1.981 MB / 404.3 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/0.3157, allocations: 283.8 kB / 404.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.3159, allocations: 11.98 kB / 404.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.3164, allocations: 51.91 kB / 404.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.3166, allocations: 80.53 kB / 404.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.3166, allocations: 20 kB / 404.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009588/0.3176, allocations: 0.6707 MB / 405.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3176, allocations: 0 / 405.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001076/0.3187, allocations: 350.8 kB / 405.7 MB, free: 13.33 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/0.3189, allocations: 138.4 kB / 405.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3212, allocations: 1.297 MB / 407.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3212, allocations: 0 / 407.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.3225, allocations: 0.8073 MB / 408 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3235, allocations: 234 kB / 408.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.3288, allocations: 3.084 MB / 411.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3301, allocations: 1.407 MB / 412.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005702/0.3307, allocations: 175.3 kB / 412.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.3309, allocations: 59.42 kB / 412.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3309, allocations: 0 / 412.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of Templates: time 0.03468/0.3656, allocations: 16.45 MB / 429.4 MB, free: 5.824 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches