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.001178/0.001178, allocations: 105.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 67.19 kB / 306.3 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.09667, allocations: 50.54 MB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005309/0.102, allocations: 4.597 MB / 361.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1041, allocations: 1.293 MB / 362.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.1043, allocations: 23.88 kB / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1047, allocations: 135.1 kB / 362.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.1055, allocations: 330.4 kB / 363.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1058, allocations: 195.7 kB / 363.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1073, allocations: 1.833 MB / 365.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/0.1083, allocations: 0.9518 MB / 366.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.109, allocations: 0.568 MB / 366.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008533/0.1099, allocations: 0.8053 MB / 367.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.11, allocations: 100 kB / 367.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.1103, allocations: 112 kB / 367.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.1106, allocations: 390.7 kB / 368.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006467/0.1113, allocations: 0.7151 MB / 368.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.1129, allocations: 2.169 MB / 371 MB, free: 232 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1129, allocations: 4 kB / 371 MB, free: 228 kB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1129, allocations: 0 / 371 MB, free: 228 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.1129, allocations: 0 / 371 MB, free: 228 kB / 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.1488/0.2617, allocations: 1.784 MB / 372.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2617, allocations: 12.16 kB / 372.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007477/0.2625, allocations: 206.6 kB / 373 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.2639, allocations: 1.002 MB / 374 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.2639, allocations: 77.5 kB / 374.1 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.2641, allocations: 107.1 kB / 374.2 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.2665, allocations: 1.554 MB / 375.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.2665, allocations: 5.891 kB / 375.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/0.2666, allocations: 45.8 kB / 375.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.2667, allocations: 50.72 kB / 375.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.2689, allocations: 1.43 MB / 377.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/0.2753, allocations: 4.94 MB / 382.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.2768, allocations: 1.458 MB / 383.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.2779, allocations: 0.7273 MB / 384.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.278, allocations: 11.98 kB / 384.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009643/0.279, allocations: 0.6154 MB / 385 MB, free: 13.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/0.279, allocations: 0 / 385 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005479/0.2845, allocations: 2.433 MB / 387.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.2845, allocations: 90.2 kB / 387.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.2858, allocations: 0.9631 MB / 388.5 MB, free: 12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.2858, allocations: 42.73 kB / 388.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.2862, allocations: 0.5322 MB / 389.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.2864, allocations: 234.1 kB / 389.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.2866, allocations: 136 kB / 389.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.2867, allocations: 333.4 kB / 389.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.2874, allocations: 414 kB / 390.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/0.2881, allocations: 0.5514 MB / 390.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.2895, allocations: 0.9526 MB / 391.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2895, allocations: 1.062 kB / 391.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002281/0.2918, allocations: 1.296 MB / 393 MB, free: 9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.2918, allocations: 10.36 kB / 393 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.2919, allocations: 4 kB / 393 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.2929, allocations: 394.1 kB / 393.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.2934, allocations: 113.4 kB / 393.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004837/0.2983, allocations: 4.132 MB / 397.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/0.2991, allocations: 84.33 kB / 397.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.2992, allocations: 27.94 kB / 397.7 MB, free: 5.633 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 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007717/0.3, allocations: 0.4896 MB / 398.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.3003, allocations: 94.88 kB / 398.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.3006, allocations: 120.8 kB / 398.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3006, allocations: 14.56 kB / 398.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3006, allocations: 0 / 398.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3006, allocations: 8.734 kB / 398.4 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/0.3045, allocations: 2.614 MB / 401.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3045, allocations: 0 / 401.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.3049, allocations: 83.88 kB / 401.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/0.3057, allocations: 396.9 kB / 401.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.3058, allocations: 12 kB / 401.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.3106, allocations: 4.078 MB / 405.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3106, allocations: 0 / 405.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.3138, allocations: 1.954 MB / 407.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.3144, allocations: 291.7 kB / 407.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.3147, allocations: 12 kB / 407.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/0.3153, allocations: 47.95 kB / 407.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3155, allocations: 72.53 kB / 408 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/0.3155, allocations: 23.98 kB / 408 MB, free: 11.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.3167, allocations: 0.6903 MB / 408.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3167, allocations: 0 / 408.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001169/0.3179, allocations: 342.9 kB / 409 MB, free: 10.12 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 (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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.3181, allocations: 143.1 kB / 409.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.3204, allocations: 1.271 MB / 410.5 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3204, allocations: 0 / 410.5 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.3218, allocations: 0.8032 MB / 411.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.323, allocations: 238.2 kB / 411.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.3285, allocations: 3.154 MB / 414.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.3298, allocations: 1.4 MB / 416 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005573/0.3304, allocations: 175.4 kB / 416.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3306, allocations: 59.42 kB / 416.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3306, allocations: 0 / 416.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of Templates: time 0.02824/0.3589, allocations: 17.29 MB / 433.6 MB, free: 1.734 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches