Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 116.5 kB / 17.7 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 191 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009906/0.0009907, allocations: 39.78 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08223, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005517/0.08778, allocations: 4.55 MB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.08972, allocations: 1.219 MB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.08995, allocations: 23.88 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.09028, allocations: 162.7 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.09106, allocations: 358 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.09138, allocations: 187.7 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.09276, allocations: 1.603 MB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.09388, allocations: 1.102 MB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.09451, allocations: 0.6813 MB / 361.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009111/0.09543, allocations: 0.8445 MB / 362.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.09563, allocations: 176 kB / 362.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.09587, allocations: 176 kB / 362.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.09626, allocations: 478.7 kB / 363 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006769/0.09694, allocations: 0.7933 MB / 363.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.09857, allocations: 2.243 MB / 366.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09858, allocations: 4 kB / 366.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09859, allocations: 0 / 366.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.09861, allocations: 0 / 366.1 MB, free: 5.02 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.00289/0.1015, allocations: 1.771 MB / 367.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1015, allocations: 11.89 kB / 367.9 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.1018, allocations: 155.1 kB / 368 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1033, allocations: 0.9889 MB / 369 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.1034, allocations: 82.42 kB / 369.1 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.1035, allocations: 104.1 kB / 369.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.1058, allocations: 1.557 MB / 370.8 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.1058, allocations: 0 / 370.8 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.1059, allocations: 44 kB / 370.8 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.106, allocations: 42.03 kB / 370.8 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.15/0.2559, allocations: 1.435 MB / 372.3 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006888/0.2629, allocations: 4.879 MB / 377.2 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.2644, allocations: 1.45 MB / 378.6 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.2656, allocations: 0.7319 MB / 379.3 MB, free: 21.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.2657, allocations: 12.02 kB / 379.3 MB, free: 21.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009579/0.2666, allocations: 0.6127 MB / 380 MB, free: 20.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.986e-06/0.2667, allocations: 0 / 380 MB, free: 20.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005691/0.2724, allocations: 2.439 MB / 382.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2724, allocations: 90.48 kB / 382.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.2736, allocations: 0.9409 MB / 383.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.2737, allocations: 40.48 kB / 383.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.2741, allocations: 0.5244 MB / 384 MB, free: 19.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.2742, allocations: 235.4 kB / 384.2 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.2745, allocations: 131.4 kB / 384.3 MB, free: 18.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.2745, allocations: 333 kB / 384.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.2752, allocations: 418.4 kB / 385.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.2759, allocations: 0.5491 MB / 385.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.2772, allocations: 0.945 MB / 386.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2773, allocations: 1.031 kB / 386.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002073/0.2793, allocations: 1.294 MB / 387.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2794, allocations: 7.375 kB / 387.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2794, allocations: 4.344 kB / 387.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009283/0.2803, allocations: 398.6 kB / 388.3 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.2808, allocations: 114.6 kB / 388.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.2853, allocations: 4.499 MB / 392.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.286, allocations: 85.09 kB / 393 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.286, allocations: 26.94 kB / 393 MB, free: 13.11 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.0006319/0.2867, allocations: 0.4902 MB / 393.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2868, allocations: 92.25 kB / 393.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.287, allocations: 120.2 kB / 393.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.287, allocations: 11.22 kB / 393.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.287, allocations: 0 / 393.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2871, allocations: 3.984 kB / 393.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.2905, allocations: 2.581 MB / 396.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2905, allocations: 7.969 kB / 396.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.2909, allocations: 83 kB / 396.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006746/0.2916, allocations: 384.8 kB / 396.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.2917, allocations: 19.98 kB / 396.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.2956, allocations: 4.479 MB / 401.2 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2956, allocations: 4 kB / 401.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.2979, allocations: 1.955 MB / 403.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.2984, allocations: 282.9 kB / 403.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.2985, allocations: 15.98 kB / 403.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.299, allocations: 43.95 kB / 403.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.2991, allocations: 84.47 kB / 403.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.2992, allocations: 20 kB / 403.6 MB, free: 3.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006787/0.2999, allocations: 0.6746 MB / 404.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2999, allocations: 0 / 404.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008691/0.3008, allocations: 346.9 kB / 404.7 MB, free: 2.656 MB / 302.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.0001413/0.3009, allocations: 131.1 kB / 404.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.3026, allocations: 1.279 MB / 406.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3026, allocations: 0 / 406.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009485/0.3036, allocations: 0.8105 MB / 406.9 MB, free: 420 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.3045, allocations: 259.2 kB / 407.1 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.3089, allocations: 2.616 MB / 409.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000936/0.3099, allocations: 1.38 MB / 411.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004555/0.3104, allocations: 175.2 kB / 411.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.3105, allocations: 55.44 kB / 411.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3105, allocations: 0 / 411.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of Templates: time 0.02699/0.3375, allocations: 18.21 MB / 429.6 MB, free: 9.945 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches