Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 101.3 kB / 17.06 MB, free: 6.117 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.001175/0.001175, allocations: 200.1 kB / 18 MB, free: 5.195 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.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008935/0.0008935, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.269, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004737/0.2737, allocations: 3.449 MB / 404.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2752, allocations: 0.8412 MB / 405 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.2754, allocations: 8 kB / 405 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.2756, allocations: 67.3 kB / 405.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.2759, allocations: 126.9 kB / 405.2 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2763, allocations: 143.7 kB / 405.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.2768, allocations: 0.5058 MB / 405.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.2771, allocations: 165.8 kB / 406 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.2773, allocations: 203.2 kB / 406.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2776, allocations: 222.9 kB / 406.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2777, allocations: 44 kB / 406.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.2778, allocations: 48 kB / 406.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.2779, allocations: 99.62 kB / 406.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.2781, allocations: 238.8 kB / 406.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.2786, allocations: 0.515 MB / 407.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2786, allocations: 0 / 407.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2787, allocations: 0 / 407.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.2787, allocations: 0 / 407.4 MB, free: 2.203 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001264/0.2799, allocations: 0.7301 MB / 408.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.28, allocations: 8.031 kB / 408.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.2801, allocations: 48.38 kB / 408.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2805, allocations: 348.3 kB / 408.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.2805, allocations: 29.31 kB / 408.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.2806, allocations: 40.38 kB / 408.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.2813, allocations: 392 kB / 409 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2813, allocations: 7.906 kB / 409 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.2814, allocations: 20 kB / 409 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2814, allocations: 8 kB / 409 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.2819, allocations: 259.8 kB / 409.3 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.2842, allocations: 1.48 MB / 410.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2846, allocations: 239.4 kB / 411 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.285, allocations: 177.2 kB / 411.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.2851, allocations: 12.22 kB / 411.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/0.2855, allocations: 226.5 kB / 411.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.2856, allocations: 0 / 411.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001538/0.2871, allocations: 0.5927 MB / 412 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.2872, allocations: 106.8 kB / 412.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.2875, allocations: 304.5 kB / 412.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.2875, allocations: 29.7 kB / 412.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.2877, allocations: 212.3 kB / 412.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.2878, allocations: 102.6 kB / 412.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.2879, allocations: 70 kB / 412.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2881, allocations: 346.8 kB / 413.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2883, allocations: 88.7 kB / 413.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.2886, allocations: 229.5 kB / 413.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.2891, allocations: 323.1 kB / 413.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2891, allocations: 4 kB / 413.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007298/0.2899, allocations: 411.4 kB / 414.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2899, allocations: 8 kB / 414.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2899, allocations: 4 kB / 414.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/0.2902, allocations: 88.75 kB / 414.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2905, allocations: 60.12 kB / 414.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.2926, allocations: 1.998 MB / 416.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2929, allocations: 43.67 kB / 416.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.2929, allocations: 15.94 kB / 416.4 MB, free: 8.633 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (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.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.2932, allocations: 165.7 kB / 416.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.2933, allocations: 35.69 kB / 416.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.645e-05/0.2934, allocations: 39.09 kB / 416.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2934, allocations: 4 kB / 416.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2934, allocations: 0 / 416.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.2934, allocations: 3.984 kB / 416.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.2941, allocations: 0.5654 MB / 417.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2941, allocations: 192 / 417.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.2943, allocations: 31.91 kB / 417.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.2946, allocations: 84.78 kB / 417.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2946, allocations: 8 kB / 417.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.2965, allocations: 1.994 MB / 419.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.2966, allocations: 0 / 419.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.2975, allocations: 0.491 MB / 419.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2977, allocations: 136.6 kB / 419.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.2977, allocations: 12 kB / 419.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2979, allocations: 15.98 kB / 419.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.298, allocations: 27.97 kB / 420 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.298, allocations: 4 kB / 420 MB, free: 4.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.2983, allocations: 215.1 kB / 420.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2983, allocations: 0 / 420.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005425/0.2988, allocations: 107.7 kB / 420.3 MB, free: 4.445 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.299, allocations: 128.8 kB / 420.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.2998, allocations: 414.4 kB / 420.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2999, allocations: 3.938 kB / 420.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.3003, allocations: 287.5 kB / 421.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3007, allocations: 73.86 kB / 421.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3018, allocations: 0.7007 MB / 421.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3022, allocations: 0.8106 MB / 422.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.3023, allocations: 35.14 kB / 422.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.3024, allocations: 23.44 kB / 422.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3024, allocations: 0 / 422.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of Templates: time 0.009189/0.3116, allocations: 4.83 MB / 427.6 MB, free: 13.18 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches